Skip to content

Commit

Permalink
MatchPattern fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Ferbar <[email protected]>
  • Loading branch information
ferbar committed Jul 17, 2020
1 parent 72438ee commit 83045cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_match.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ def test_regex_pattern
assert_glob_match('/a.*/', 'abc')
assert_glob_not_match('/b.*/', 'abc')
assert_glob_match('/a\..*/', 'a.b.c')
assert_glob_not_match('/(?!a)\..*/', 'a.b.c')
assert_glob_not_match('/(?!a\.).*/', 'a.b.c')
assert_glob_not_match('/a\..*/', 'b.b.c')
assert_glob_match('/(?!a)\..*/', 'b.b.c')
assert_glob_match('/(?!a\.).*/', 'b.b.c')
end

#def test_character_class
Expand Down

0 comments on commit 83045cb

Please sign in to comment.