Added more CLI tests

This commit is contained in:
Eduard Urbach 2025-01-31 11:54:42 +01:00
parent eba0176ae6
commit 547e7d066b
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0

View File

@ -24,6 +24,9 @@ func TestCLI(t *testing.T) {
{[]string{"build", "../../examples/hello", "--invalid"}, 2},
{[]string{"build", "../../examples/hello", "--dry"}, 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"}, 0},
{[]string{"run", "../../examples/hello", "--invalid"}, 2},