diff options
-rw-r--r-- | plugin/auto/watcher_test.go | 1 | ||||
-rw-r--r-- | plugin/etcd/msg/type_test.go | 1 | ||||
-rw-r--r-- | plugin/file/reload_test.go | 1 | ||||
-rw-r--r-- | plugin/hosts/setup_test.go | 1 | ||||
-rw-r--r-- | plugin/log/setup_test.go | 1 | ||||
-rw-r--r-- | plugin/pkg/doh/doh.go | 2 | ||||
-rw-r--r-- | plugin/pkg/parse/parse_test.go | 2 | ||||
-rw-r--r-- | test/metric_naming_test.go | 1 | ||||
-rw-r--r-- | test/wildcard_test.go | 1 |
9 files changed, 0 insertions, 11 deletions
diff --git a/plugin/auto/watcher_test.go b/plugin/auto/watcher_test.go index be2a0d48b..43f1ff374 100644 --- a/plugin/auto/watcher_test.go +++ b/plugin/auto/watcher_test.go @@ -51,7 +51,6 @@ func TestWatcher(t *testing.T) { if _, ok := a.Zones.Z["example.org."]; !ok { t.Errorf("Expected %q to still be there.", "example.org.") } - } func TestSymlinks(t *testing.T) { diff --git a/plugin/etcd/msg/type_test.go b/plugin/etcd/msg/type_test.go index bad1eead0..721f5a84d 100644 --- a/plugin/etcd/msg/type_test.go +++ b/plugin/etcd/msg/type_test.go @@ -27,5 +27,4 @@ func TestType(t *testing.T) { t.Errorf("Test %d: Expected what %v, but got %v", i, tc.expectedType, what) } } - } diff --git a/plugin/file/reload_test.go b/plugin/file/reload_test.go index 5d712f342..1a8c54067 100644 --- a/plugin/file/reload_test.go +++ b/plugin/file/reload_test.go @@ -76,7 +76,6 @@ func TestZoneReloadSOAChange(t *testing.T) { if err == nil { t.Fatalf("Zone should not have been re-parsed") } - } const reloadZoneTest = `miek.nl. 1627 IN SOA linode.atoom.net. miek.miek.nl. 1460175181 14400 3600 604800 14400 diff --git a/plugin/hosts/setup_test.go b/plugin/hosts/setup_test.go index cf943a2c0..38c7c31a2 100644 --- a/plugin/hosts/setup_test.go +++ b/plugin/hosts/setup_test.go @@ -166,5 +166,4 @@ func TestHostsInlineParse(t *testing.T) { } } } - } diff --git a/plugin/log/setup_test.go b/plugin/log/setup_test.go index efffff0e1..6defa8ae1 100644 --- a/plugin/log/setup_test.go +++ b/plugin/log/setup_test.go @@ -162,5 +162,4 @@ func TestLogParse(t *testing.T) { } } } - } diff --git a/plugin/pkg/doh/doh.go b/plugin/pkg/doh/doh.go index 812b89b1e..68f8d4aaa 100644 --- a/plugin/pkg/doh/doh.go +++ b/plugin/pkg/doh/doh.go @@ -50,7 +50,6 @@ func NewRequest(method, url string, m *dns.Msg) (*http.Request, error) { default: return nil, fmt.Errorf("method not allowed: %s", method) } - } // ResponseToMsg converts a http.Response to a dns message. @@ -72,7 +71,6 @@ func RequestToMsg(req *http.Request) (*dns.Msg, error) { default: return nil, fmt.Errorf("method not allowed: %s", req.Method) } - } // requestToMsgPost extracts the dns message from the request body. diff --git a/plugin/pkg/parse/parse_test.go b/plugin/pkg/parse/parse_test.go index b0ab2c601..4f253a9a0 100644 --- a/plugin/pkg/parse/parse_test.go +++ b/plugin/pkg/parse/parse_test.go @@ -55,7 +55,5 @@ func TestTransferIn(t *testing.T) { } } } - } - } diff --git a/test/metric_naming_test.go b/test/metric_naming_test.go index 2f278dad0..e8aa585c1 100644 --- a/test/metric_naming_test.go +++ b/test/metric_naming_test.go @@ -37,7 +37,6 @@ func TestMetricNaming(t *testing.T) { t.Fatalf("A slice of Problems indicating any issues found in the metrics stream: %s", problems) } } - } type validMetricWalker struct { diff --git a/test/wildcard_test.go b/test/wildcard_test.go index cb50af2e5..85b093308 100644 --- a/test/wildcard_test.go +++ b/test/wildcard_test.go @@ -86,5 +86,4 @@ func TestLookupWildcard(t *testing.T) { continue } } - } |