Miek Gieben
f520760857
Lowercase all error msg from the tests
2015-11-26 14:12:38 +00:00
Andrew Tunnell-Jones
fe0937fa24
Merge sidnxfr_test.go into xfr_test.go
...
* Export tests in xfr_test.go
* Rename tests to be `go test -run` friendly
* Hide behind 'net' build tag
2015-08-23 07:31:06 +00:00
Michael Haro
4437868b75
Replace t.Logf("%s", var) with t.Log(var)
2015-02-26 00:30:40 -08:00
Michael Haro
2fb2a25e84
More test clean up
...
Remove trailing \n from t.Log and t.Error messages as it's unnecessary.
In some instances, combine multiple t.Error()s into one
To provide more consistency across the tests, rename e to err and use %v
as the format arg for errors.
Replace Logf and Errorf with Log and Error when it made sense. For
example t.Errorf("%v", err) to t.Error(err)
2015-02-25 22:14:21 -08:00
Michael Haro
f995f1aff3
Convert tests from being t.Log(..) then t.Fail() to just t.Error(...) as
...
t.Error(...) does both and makes it more clear which messages are errors
vs information log messages.
2015-02-23 17:43:07 -08:00
Miek Gieben
acee6af0bc
Merge branch 'master' of github.com:miekg/dns
2015-02-19 09:59:37 +00:00
Miek Gieben
67945c119e
A bunch of golint fixes
...
The proposed vars names are a nono, because they break the API.
Things left: document each RR and zscan_rr.go has some funcky if-then-elses.
2015-02-19 09:58:33 +00:00
Michael Haro
9e96f28311
Fix problems noted by 'go vet'
2015-02-19 00:08:28 -08:00
Miek Gieben
ebbe30ad4e
axfr test is flaky
...
Off for now: can be turned on, but we need to up a local server
and xfr from there.
2015-01-23 07:15:26 +00:00
Miek Gieben
2efce5c9e0
Short tests
2015-01-21 18:26:30 +00:00
Miek Gieben
d344ff065b
Move all AXFR tests to their own file
2015-01-21 17:37:20 +00:00