1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

lib/test/unit.rb: not overwrite options itself

* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): not overwrite
  options itself.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-05-20 15:58:00 +00:00
parent 3f6ec3ddcc
commit 7899034343

View file

@ -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