Fix typo in pkg/kubelet/.../helpers_test.go

Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
This commit is contained in:
he.qingguo 2020-12-30 14:06:09 +08:00
parent b860d08e4b
commit 6a0e98d1fc

View File

@ -119,7 +119,7 @@ func TestAllPrimitiveFieldPaths(t *testing.T) {
unexpected := result.Difference(expect)
if len(missing) > 0 {
t.Errorf("the following fields were exepcted, but missing from the result:\n%s", strings.Join(missing.List(), "\n"))
t.Errorf("the following fields were expected, but missing from the result:\n%s", strings.Join(missing.List(), "\n"))
}
if len(unexpected) > 0 {
t.Errorf("the following fields were in the result, but unexpected:\n%s", strings.Join(unexpected.List(), "\n"))