mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-06 06:37:36 +03:00
Add unit tests for sources.go
Tests cover most of the cache and download related code paths and specify the expected result of various starting states and external failure modes. Where the current code's behaviour doesn't match a test's expectations, the test is disabled and annotated with a TODO until it can be fixed. Added dependency on `github.com/powerman/check` and ran `go mod vendor`.
This commit is contained in:
parent
503bfb877b
commit
af0629856c
61 changed files with 7200 additions and 0 deletions
1274
vendor/github.com/powerman/check/check.go
generated
vendored
Normal file
1274
vendor/github.com/powerman/check/check.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue