mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 10:43:17 -04:00
Some go vet cleanup (#869)
Some `go vet` cleanup Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
@@ -132,8 +132,6 @@ func nextHandler(mm map[string]int) test.Handler {
|
||||
default:
|
||||
panic("nextHandler: unhandled rcode")
|
||||
}
|
||||
|
||||
return dns.RcodeServerFailure, nil
|
||||
})
|
||||
}
|
||||
|
||||
@@ -159,7 +157,7 @@ func TestInSearchPath(t *testing.T) {
|
||||
for i, tc := range tests {
|
||||
got := a.FirstInSearchPath(tc.qname)
|
||||
if got != tc.b {
|
||||
t.Errorf("Test %d, got %d, expected %d", i, got, tc.b)
|
||||
t.Errorf("Test %d, got %v, expected %v", i, got, tc.b)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user