diff --git a/src/cli/Exec_test.go b/src/cli/Exec_test.go index d21cd6d..eb78aab 100644 --- a/src/cli/Exec_test.go +++ b/src/cli/Exec_test.go @@ -11,6 +11,7 @@ func TestExec(t *testing.T) { assert.Equal(t, cli.Exec(nil), 2) assert.Equal(t, cli.Exec([]string{"_"}), 2) assert.Equal(t, cli.Exec([]string{"build"}), 1) + assert.Equal(t, cli.Exec([]string{"run"}), 1) assert.Equal(t, cli.Exec([]string{"build", "--invalid-parameter"}), 2) assert.Equal(t, cli.Exec([]string{"build", "../../examples/hello", "--invalid-parameter"}), 2) assert.Equal(t, cli.Exec([]string{"build", "../../examples/hello", "--dry"}), 0) @@ -21,5 +22,4 @@ func TestExec(t *testing.T) { assert.Equal(t, cli.Exec([]string{"build", "../../examples/hello", "--dry", "--arch", "x86"}), 0) assert.Equal(t, cli.Exec([]string{"build", "../../examples/hello/hello.q", "--dry"}), 0) assert.Equal(t, cli.Exec([]string{"help"}), 0) - assert.Equal(t, cli.Exec([]string{"run"}), 0) } \ No newline at end of file