Skip to content

Commit

Permalink
fix windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatcuk committed Jan 13, 2025
1 parent 28b892c commit 29e67f4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions doublestar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,16 +151,16 @@ var matchTests = []MatchTest{
{"working-sym*/*", "working-symlink/c", true, true, nil, false, false, true, !onWindows, 1, 1},
{"b/**/f", "b/symlink-dir/f", true, true, nil, false, false, false, !onWindows, 2, 2},
{"*/symlink-dir/*", "b/symlink-dir/f", true, true, nil, !onWindows, false, true, !onWindows, 2, 2},
{"e/\\[x\\]/*", "e/[x]/[y]", true, true, nil, false, false, true, true, 1, 1},
{"e/\\[x\\]/*/z", "e/[x]/[y]/z", true, true, nil, false, false, true, true, 1, 1},
{"e/**", "e/**", true, true, nil, false, false, false, !onWindows, 14, 6},
{"e/**", "e/*", true, true, nil, false, false, false, !onWindows, 14, 6},
{"e/**", "e/?", true, true, nil, false, false, false, !onWindows, 14, 6},
{"e/**", "e/[", true, true, nil, false, false, false, true, 14, 6},
{"e/**", "e/]", true, true, nil, false, false, false, true, 14, 6},
{"e/**", "e/[]", true, true, nil, false, false, false, true, 14, 6},
{"e/**", "e/{", true, true, nil, false, false, false, true, 14, 6},
{"e/**", "e/}", true, true, nil, false, false, false, true, 14, 6},
{"e/\\[x\\]/*", "e/[x]/[y]", true, true, nil, false, false, true, !onWindows, 1, 1},
{"e/\\[x\\]/*/z", "e/[x]/[y]/z", true, true, nil, false, false, true, !onWindows, 1, 1},
{"e/**", "e/**", true, true, nil, false, false, false, !onWindows, 14, 9},
{"e/**", "e/*", true, true, nil, false, false, false, !onWindows, 14, 9},
{"e/**", "e/?", true, true, nil, false, false, false, !onWindows, 14, 9},
{"e/**", "e/[", true, true, nil, false, false, false, true, 14, 9},
{"e/**", "e/]", true, true, nil, false, false, false, true, 14, 9},
{"e/**", "e/[]", true, true, nil, false, false, false, true, 14, 9},
{"e/**", "e/{", true, true, nil, false, false, false, true, 14, 9},
{"e/**", "e/}", true, true, nil, false, false, false, true, 14, 9},
{"e/**", "e/\\", true, true, nil, false, false, false, !onWindows, 14, 6},
{"e/*", "e/*", true, true, nil, false, false, true, !onWindows, 11, 5},
{"e/?", "e/?", true, true, nil, false, false, true, !onWindows, 7, 4},
Expand Down

0 comments on commit 29e67f4

Please sign in to comment.