Merge pull request #39853 from xingzhou/typo

Automatic merge from submit-queue

Fixed typo.
This commit is contained in:
Kubernetes Submit Queue 2017-01-16 20:44:43 -08:00 committed by GitHub
commit 4937b05a46
3 changed files with 3 additions and 3 deletions

View File

@ -50,6 +50,6 @@ func TestCreateConfigMap(t *testing.T) {
cmd.Run(cmd, []string{configMap.Name})
expectedOutput := "configmap/" + configMap.Name + "\n"
if buf.String() != expectedOutput {
t.Errorf("expected output: %s, but got: %s", buf.String(), expectedOutput)
t.Errorf("expected output: %s, but got: %s", expectedOutput, buf.String())
}
}

View File

@ -49,6 +49,6 @@ func TestCreateNamespace(t *testing.T) {
cmd.Run(cmd, []string{namespaceObject.Name})
expectedOutput := "namespace/" + namespaceObject.Name + "\n"
if buf.String() != expectedOutput {
t.Errorf("expected output: %s, but got: %s", buf.String(), expectedOutput)
t.Errorf("expected output: %s, but got: %s", expectedOutput, buf.String())
}
}

View File

@ -57,7 +57,7 @@ func TestCreateSecretGeneric(t *testing.T) {
cmd.Run(cmd, []string{secretObject.Name})
expectedOutput := "secret/" + secretObject.Name + "\n"
if buf.String() != expectedOutput {
t.Errorf("expected output: %s, but got: %s", buf.String(), expectedOutput)
t.Errorf("expected output: %s, but got: %s", expectedOutput, buf.String())
}
}