Fixed typo.

Fixed variable sequence typo in kubectl create sub-command tests.
This commit is contained in:
Xing Zhou
2017-01-13 12:54:15 +08:00
parent 31483bf546
commit 695c27287b
3 changed files with 3 additions and 3 deletions

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())
}
}