diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-20 15:58:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-20 15:58:00 +0000 |
commit | 78990343431fbf3f4235ac9ec7dc136dcb9ac591 (patch) | |
tree | f9f68427fb91c2b1eacff2e48020fda0a13db632 | |
parent | 3f6ec3ddcc91e106b1fe9aa574632edcf9b9a80f (diff) |
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
-rw-r--r-- | lib/test/unit.rb | 2 |
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 |