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:
parent
74303a985c
commit
60f483e98b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue