aboutsummaryrefslogtreecommitdiff
path: root/plugin/test/file_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-05-07 22:47:25 +0100
committerGravatar Yong Tang <yong.tang.github@outlook.com> 2018-05-07 23:47:25 +0200
commit643550eabe37176fd27c8aa9263c8c4206be066d (patch)
tree6dd27292218b96176e3fd314d7251f98e41802f3 /plugin/test/file_test.go
parent15d989e294dbfd29bb3e8083190f1bc68bcd170c (diff)
downloadcoredns-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/test/file_test.go')
-rw-r--r--plugin/test/file_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/test/file_test.go b/plugin/test/file_test.go
index ed86a8260..b225ace78 100644
--- a/plugin/test/file_test.go
+++ b/plugin/test/file_test.go
@@ -5,7 +5,7 @@ import "testing"
func TestTempFile(t *testing.T) {
_, f, e := TempFile(".", "test")
if e != nil {
- t.Fatalf("failed to create temp file: %s", e)
+ t.Fatalf("Failed to create temp file: %s", e)
}
defer f()
}