From 7b6451cc0bc326f8633df593264da717fcac146a Mon Sep 17 00:00:00 2001 From: Ian MacLeod Date: Sat, 2 Mar 2013 22:43:33 -0800 Subject: [PATCH] Fix Mutant::Mutation::Filter::Regexp --- lib/mutant/mutation/filter/regexp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mutant/mutation/filter/regexp.rb b/lib/mutant/mutation/filter/regexp.rb index 3f1d0add..c619454b 100644 --- a/lib/mutant/mutation/filter/regexp.rb +++ b/lib/mutant/mutation/filter/regexp.rb @@ -17,7 +17,7 @@ module Mutant # @api private # def match?(mutation) - !!@regexp.match =~ mutation.identification + !!(@regexp =~ mutation.identification) end private