MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / TestParseArgsStartCreate

Function TestParseArgsStartCreate

configuration/configuration_test.go:32–40  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

30}
31
32func 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
42func TestParseArgsStartCreateShort(t *testing.T) {
43 configuration := GetDefaultConfiguration()

Callers

nothing calls this directly

Calls 3

EqualsFunction · 0.92
GetDefaultConfigurationFunction · 0.85
ParseArgsFunction · 0.85

Tested by

no test coverage detected