aboutsummaryrefslogtreecommitdiff
path: root/plugin/tsig/setup_test.go
diff options
context:
space:
mode:
authorGravatar Ondřej Benkovský <ondrej.benkovsky@jamf.com> 2022-07-10 20:06:33 +0200
committerGravatar GitHub <noreply@github.com> 2022-07-10 11:06:33 -0700
commitc2dbb7141a7c95aa521a41b27bed3af25de8f546 (patch)
tree3af5d63a0dccaa769507e34a32b6378ccef880c4 /plugin/tsig/setup_test.go
parentabc5ac8017b0f434b5845321fb1f405ded7774d4 (diff)
downloadcoredns-c2dbb7141a7c95aa521a41b27bed3af25de8f546.tar.gz
coredns-c2dbb7141a7c95aa521a41b27bed3af25de8f546.tar.zst
coredns-c2dbb7141a7c95aa521a41b27bed3af25de8f546.zip
add golangci-lint linter (#5499)
Diffstat (limited to 'plugin/tsig/setup_test.go')
-rw-r--r--plugin/tsig/setup_test.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugin/tsig/setup_test.go b/plugin/tsig/setup_test.go
index 00966bf09..0d7433996 100644
--- a/plugin/tsig/setup_test.go
+++ b/plugin/tsig/setup_test.go
@@ -12,7 +12,6 @@ import (
)
func TestParse(t *testing.T) {
-
secrets := map[string]string{
"name.key.": "test-key",
"name2.key.": "test-key-2",
@@ -150,7 +149,6 @@ key "name2.key." {
break
}
}
-
}
}
@@ -243,6 +241,5 @@ func TestParseKeyFileErrors(t *testing.T) {
if err.Error() != testcase.err {
t.Errorf("Test %d: Expected error: %q, got %q", i, testcase.err, err.Error())
}
-
}
}