1
0
mirror of https://github.com/DNSCrypt/dnscrypt-proxy.git synced 2024-12-14 22:54:18 +01:00
Commit Graph

1 Commits

Author SHA1 Message Date
William Elwood
af0629856c 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`.
2019-11-08 10:17:12 +01:00