diff options
author | 2018-05-07 22:47:25 +0100 | |
---|---|---|
committer | 2018-05-07 23:47:25 +0200 | |
commit | 643550eabe37176fd27c8aa9263c8c4206be066d (patch) | |
tree | 6dd27292218b96176e3fd314d7251f98e41802f3 /plugin/file/ent_test.go | |
parent | 15d989e294dbfd29bb3e8083190f1bc68bcd170c (diff) | |
download | coredns-643550eabe37176fd27c8aa9263c8c4206be066d.tar.gz coredns-643550eabe37176fd27c8aa9263c8c4206be066d.tar.zst coredns-643550eabe37176fd27c8aa9263c8c4206be066d.zip |
presubmit: check for uppercase (#1774)
Another thing we can test automatically, we sorta settled on using an
uppercase letter in in t.Log and t.Fatal calls.
Let's just check for this.
Diffstat (limited to 'plugin/file/ent_test.go')
-rw-r--r-- | plugin/file/ent_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/file/ent_test.go b/plugin/file/ent_test.go index 15b79c36a..64244a44d 100644 --- a/plugin/file/ent_test.go +++ b/plugin/file/ent_test.go @@ -33,7 +33,7 @@ var entTestCases = []test.Case{ func TestLookupEnt(t *testing.T) { zone, err := Parse(strings.NewReader(dbMiekENTNL), testzone, "stdin", 0) if err != nil { - t.Fatalf("expect no error when reading zone, got %q", err) + t.Fatalf("Expect no error when reading zone, got %q", err) } fm := File{Next: test.ErrorHandler(), Zones: Zones{Z: map[string]*Zone{testzone: zone}, Names: []string{testzone}}} |