mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
add golangci-lint linter (#5499)
This commit is contained in:
@@ -98,7 +98,6 @@ func TestParse(t *testing.T) {
|
||||
for k, zone := range x.Zones {
|
||||
if tc.exp.xfrs[j].Zones[k] != zone {
|
||||
t.Errorf("Test %d expected zone %v, got %v", i, tc.exp.xfrs[j].Zones[k], zone)
|
||||
|
||||
}
|
||||
}
|
||||
// Check to
|
||||
@@ -108,7 +107,6 @@ func TestParse(t *testing.T) {
|
||||
for k, to := range x.to {
|
||||
if tc.exp.xfrs[j].to[k] != to {
|
||||
t.Errorf("Test %d expected %v in 'to', got %v", i, tc.exp.xfrs[j].to[k], to)
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user