From 9a816ec7d74f2e50daae9e8f43e82a424edf7792 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sat, 28 Oct 2023 12:50:56 +0200 Subject: [PATCH] Improved tests --- main_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main_test.go b/main_test.go index b25bf96..cc45c58 100644 --- a/main_test.go +++ b/main_test.go @@ -26,10 +26,10 @@ func TestCLI(t *testing.T) { {[]string{}, 2}, {[]string{"invalid"}, 2}, {[]string{"system"}, 0}, - // {[]string{"build", "non-existing-directory"}, 1}, - // {[]string{"build", "examples/hello/hello.q"}, 1}, - // {[]string{"build", "examples/hello", "--invalid"}, 2}, - // {[]string{"build", "examples/hello", "--dry"}, 0}, + {[]string{"build", "non-existing-directory"}, 1}, + {[]string{"build", "examples/hello/hello.q"}, 1}, + {[]string{"build", "examples/hello", "--dry"}, 0}, + {[]string{"build", "examples/hello", "--invalid"}, 2}, } for _, test := range tests {