Merge pull request #97589 from heqg/typo-expected-02

Fix typo in pkg/kubelet/.../helpers_test.go
This commit is contained in:
Kubernetes Prow Robot 2021-01-15 17:07:56 -08:00 committed by GitHub
commit efba8f0482
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"))