summaryrefslogtreecommitdiff
path: root/lib/test/unit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test/unit.rb')
-rw-r--r--lib/test/unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index a5997f9b08..c80564c3c5 100644
--- a/lib/test/unit.rb
+++ b/lib/test/unit.rb
@@ -686,7 +686,7 @@ module Test
@output = StatusLineOutput.new(self)
end
if /\A\/(.*)\/\z/ =~ (filter = options[:filter])
- options[:filter] = filter = Regexp.new($1)
+ filter = Regexp.new($1)
end
type = "#{type}_methods"
total = if filter