mirror of
https://github.com/coredns/coredns.git
synced 2025-12-07 02:45:11 -05:00
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.
This commit is contained in:
@@ -8,14 +8,14 @@ import (
|
||||
func TestParseNSEC3PARAM(t *testing.T) {
|
||||
_, err := Parse(strings.NewReader(nsec3paramTest), "miek.nl", "stdin", 0)
|
||||
if err == nil {
|
||||
t.Fatalf("expected error when reading zone, got nothing")
|
||||
t.Fatalf("Expected error when reading zone, got nothing")
|
||||
}
|
||||
}
|
||||
|
||||
func TestParseNSEC3(t *testing.T) {
|
||||
_, err := Parse(strings.NewReader(nsec3Test), "miek.nl", "stdin", 0)
|
||||
if err == nil {
|
||||
t.Fatalf("expected error when reading zone, got nothing")
|
||||
t.Fatalf("Expected error when reading zone, got nothing")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user