Improved tests
This commit is contained in:
parent
a5ba316319
commit
9a816ec7d7
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user