Skip to content

Commit

Permalink
Test was fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Mar 7, 2024
1 parent 08c6712 commit a0df5d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/content_matching.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,12 @@ fn match_before_nomatch_not_matching() {
}

#[test]
#[ignore] // should be fixed
fn match_before_nomatch_matching() {
TestCase::new_for_json_tests()
.add_file("a.py", lines!["a"])
.add_rule(lines!["files *.py", "match /a/", "nomatch /b/"])
.run()
.assert_matches(vec!["a.py:1"]);
.assert_matches(vec!["a.py"]);
}

#[test]
Expand Down

0 comments on commit a0df5d6

Please sign in to comment.