1
0
mirror of https://github.com/go-task/task.git synced 2025-06-23 00:38:19 +02:00

feat: allow wildcards to match multiple tasks (#2121)

* feat: allow wildcards to match multiple tasks

* docs: improved wildcard section
This commit is contained in:
Pete Davison
2025-03-26 22:17:27 +00:00
committed by GitHub
parent 55617e062f
commit dd8daa68cd
3 changed files with 33 additions and 36 deletions

View File

@ -3196,9 +3196,9 @@ func TestWildcard(t *testing.T) {
wantErr: true,
},
{
name: "multiple matches",
call: "wildcard-foo-bar",
wantErr: true,
name: "multiple matches",
call: "wildcard-foo-bar",
expectedOutput: "Hello foo-bar\n",
},
}