From e9364f58018090d0fb6aaf42d3f36542743a7711 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sat, 5 Jul 2025 23:40:56 +0200 Subject: [PATCH] Fixed cli test --- src/cli/Exec_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/Exec_test.go b/src/cli/Exec_test.go index d21cd6d..eb78aab 100644 --- a/src/cli/Exec_test.go +++ b/src/cli/Exec_test.go @@ -11,6 +11,7 @@ func TestExec(t *testing.T) { assert.Equal(t, cli.Exec(nil), 2) assert.Equal(t, cli.Exec([]string{"_"}), 2) assert.Equal(t, cli.Exec([]string{"build"}), 1) + assert.Equal(t, cli.Exec([]string{"run"}), 1) assert.Equal(t, cli.Exec([]string{"build", "--invalid-parameter"}), 2) assert.Equal(t, cli.Exec([]string{"build", "../../examples/hello", "--invalid-parameter"}), 2) assert.Equal(t, cli.Exec([]string{"build", "../../examples/hello", "--dry"}), 0) @@ -21,5 +22,4 @@ func TestExec(t *testing.T) { assert.Equal(t, cli.Exec([]string{"build", "../../examples/hello", "--dry", "--arch", "x86"}), 0) assert.Equal(t, cli.Exec([]string{"build", "../../examples/hello/hello.q", "--dry"}), 0) assert.Equal(t, cli.Exec([]string{"help"}), 0) - assert.Equal(t, cli.Exec([]string{"run"}), 0) } \ No newline at end of file