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

Function TestHelpRequested

mob_test.go:1894–1900  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1892}
1893
1894func TestHelpRequested(t *testing.T) {
1895 equals(t, false, helpRequested([]string{""}))
1896 equals(t, false, helpRequested([]string{"a", "mob", "21"}))
1897 equals(t, true, helpRequested([]string{"--help"}))
1898 equals(t, true, helpRequested([]string{"a", "help", "12"}))
1899 equals(t, true, helpRequested([]string{"s", "10", "-h"}))
1900}
1901
1902func TestMobClean(t *testing.T) {
1903 _, configuration := setup(t)

Callers

nothing calls this directly

Calls 2

equalsFunction · 0.85
helpRequestedFunction · 0.85

Tested by

no test coverage detected