(t *testing.T)
| 30 | } |
| 31 | |
| 32 | func TestParseArgsStartCreate(t *testing.T) { |
| 33 | configuration := GetDefaultConfiguration() |
| 34 | |
| 35 | command, parameters, configuration := ParseArgs([]string{"mob", "start", "--create"}, configuration) |
| 36 | |
| 37 | test.Equals(t, "start", command) |
| 38 | test.Equals(t, "", strings.Join(parameters, "")) |
| 39 | test.Equals(t, true, configuration.StartCreate) |
| 40 | } |
| 41 | |
| 42 | func TestParseArgsStartCreateShort(t *testing.T) { |
| 43 | configuration := GetDefaultConfiguration() |
nothing calls this directly
no test coverage detected