mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
Fix lowercase presummit (#2876)
While running make encountered the following error:
```
$ docker run -i -t --rm -v $PWD:/v --net=host -w /v golang:1.12 make
...
...
** presubmit/test-lowercase
plugin/kubernetes/metadata_test.go: t.Errorf("case %d expected metadata %v and got %v", i, tc.Md, md)
** presubmit/test-lowercase: please start with an upper case letter when using t.Error*()
Makefile:62: recipe for target 'presubmit' failed
make: *** [presubmit] Error 1
```
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
@@ -120,7 +120,7 @@ func TestMetadata(t *testing.T) {
|
||||
md[l] = metadata.ValueFunc(ctx, l)()
|
||||
}
|
||||
if mapsDiffer(tc.Md, md) {
|
||||
t.Errorf("case %d expected metadata %v and got %v", i, tc.Md, md)
|
||||
t.Errorf("Case %d expected metadata %v and got %v", i, tc.Md, md)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user