From 6a0e98d1fc34843e875f3b9340aedfc35fd128b8 Mon Sep 17 00:00:00 2001 From: "he.qingguo" Date: Wed, 30 Dec 2020 14:06:09 +0800 Subject: [PATCH] Fix typo in pkg/kubelet/.../helpers_test.go Signed-off-by: he.qingguo --- pkg/kubelet/apis/config/helpers_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/apis/config/helpers_test.go b/pkg/kubelet/apis/config/helpers_test.go index aee4ba83ff5..8e769634156 100644 --- a/pkg/kubelet/apis/config/helpers_test.go +++ b/pkg/kubelet/apis/config/helpers_test.go @@ -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"))