(t *testing.T)
| 73 | } |
| 74 | |
| 75 | func TestShowAPIVersion(t *testing.T) { |
| 76 | stdout, err := wsk.RunCommand("property", "get", "--apiversion") |
| 77 | assert.Equal(t, nil, err, "The command property get --apiversion failed to run.") |
| 78 | assert.Contains(t, string(stdout), common.PropDisplayAPIVersion, |
| 79 | "The output of the command property get --apiversion does not contain "+common.PropDisplayCLIVersion) |
| 80 | } |
| 81 | |
| 82 | // Test case to verify the default namespace _. |
| 83 | func TestDefaultNamespace(t *testing.T) { |
nothing calls this directly
no test coverage detected