Skip to content

Commit 6ebb8cb

Browse files
authored
fix(test): regexes are not deterministic across OS (#21)
1 parent cc9ff7e commit 6ebb8cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

checkmate.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ in
6767
};
6868

6969
match."test `match` composes with `filter`" = {
70-
expr = ((lit.match ".*/[^/]+_[^/]+\.nix").filter (lib.hasSuffix "b.nix")).leafs ./tree;
70+
expr = ((lit.match ".*a_b.nix").filter (lib.hasInfix "/a/")).leafs ./tree;
7171
expected = [ ./tree/a/a_b.nix ];
7272
};
7373

0 commit comments

Comments
 (0)