Added more CLI tests
This commit is contained in:
parent
eba0176ae6
commit
547e7d066b
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@ func TestCLI(t *testing.T) {
|
||||||
{[]string{"build", "../../examples/hello", "--invalid"}, 2},
|
{[]string{"build", "../../examples/hello", "--invalid"}, 2},
|
||||||
{[]string{"build", "../../examples/hello", "--dry"}, 0},
|
{[]string{"build", "../../examples/hello", "--dry"}, 0},
|
||||||
{[]string{"build", "../../examples/hello", "--dry", "--verbose"}, 0},
|
{[]string{"build", "../../examples/hello", "--dry", "--verbose"}, 0},
|
||||||
|
{[]string{"build", "../../examples/hello", "--dry", "--os", "linux"}, 0},
|
||||||
|
{[]string{"build", "../../examples/hello", "--dry", "--os", "mac"}, 0},
|
||||||
|
{[]string{"build", "../../examples/hello", "--dry", "--os", "windows"}, 0},
|
||||||
{[]string{"build", "../../examples/hello/hello.q", "--dry"}, 0},
|
{[]string{"build", "../../examples/hello/hello.q", "--dry"}, 0},
|
||||||
{[]string{"build", "../../examples/hello"}, 0},
|
{[]string{"build", "../../examples/hello"}, 0},
|
||||||
{[]string{"run", "../../examples/hello", "--invalid"}, 2},
|
{[]string{"run", "../../examples/hello", "--invalid"}, 2},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue