diff --git a/internal/args/args_test.go b/internal/args/args_test.go index 7357acdd..8dc96e4c 100644 --- a/internal/args/args_test.go +++ b/internal/args/args_test.go @@ -64,6 +64,18 @@ func TestArgs(t *testing.T) { "FOO": {Static: "bar"}, }, }, + { + Args: nil, + ExpectedCalls: []taskfile.Call{ + {Task: "default"}, + }, + }, + { + Args: []string{}, + ExpectedCalls: []taskfile.Call{ + {Task: "default"}, + }, + }, { Args: []string{"FOO=bar", "BAR=baz"}, ExpectedCalls: []taskfile.Call{