From 547e7d066b3513bc605e505b43695b79b81556c0 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Fri, 31 Jan 2025 11:54:42 +0100 Subject: [PATCH] Added more CLI tests --- src/cli/Main_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cli/Main_test.go b/src/cli/Main_test.go index 93138a8..b27a964 100644 --- a/src/cli/Main_test.go +++ b/src/cli/Main_test.go @@ -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},