Skip to content
Browse files

Fix Mutant::Mutation::Filter::Regexp

  • Loading branch information...
1 parent 96af70c commit 7b6451cc0bc326f8633df593264da717fcac146a @nevir nevir committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mutant/mutation/filter/regexp.rb
View
2 lib/mutant/mutation/filter/regexp.rb
@@ -17,7 +17,7 @@ class Regexp < self
# @api private
#
def match?(mutation)
- !!@regexp.match =~ mutation.identification
+ !!(@regexp =~ mutation.identification)
end
private

0 comments on commit 7b6451c

Please sign in to comment.
Something went wrong with that request. Please try again.