Improved tests

This commit is contained in:
Eduard Urbach 2023-10-28 12:50:56 +02:00
parent f11757d9e4
commit 549a27cdad
Signed by: eduard
GPG key ID: 49226B848C78F6C8

View file

@ -26,10 +26,10 @@ func TestCLI(t *testing.T) {
{[]string{}, 2}, {[]string{}, 2},
{[]string{"invalid"}, 2}, {[]string{"invalid"}, 2},
{[]string{"system"}, 0}, {[]string{"system"}, 0},
// {[]string{"build", "non-existing-directory"}, 1}, {[]string{"build", "non-existing-directory"}, 1},
// {[]string{"build", "examples/hello/hello.q"}, 1}, {[]string{"build", "examples/hello/hello.q"}, 1},
// {[]string{"build", "examples/hello", "--invalid"}, 2}, {[]string{"build", "examples/hello", "--dry"}, 0},
// {[]string{"build", "examples/hello", "--dry"}, 0}, {[]string{"build", "examples/hello", "--invalid"}, 2},
} }
for _, test := range tests { for _, test := range tests {