ruby-changes:23678
From: nobu <ko1@a...>
Date: Mon, 21 May 2012 00:58:10 +0900 (JST)
Subject: [ruby-changes:23678] nobu:r35729 (trunk): lib/test/unit.rb: not overwrite options itself
nobu 2012-05-21 00:58:00 +0900 (Mon, 21 May 2012) New Revision: 35729 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35729 Log: lib/test/unit.rb: not overwrite options itself * lib/test/unit.rb (Test::Unit::Runner#_prepare_run): not overwrite options itself. Modified files: trunk/lib/test/unit.rb Index: lib/test/unit.rb =================================================================== --- lib/test/unit.rb (revision 35728) +++ lib/test/unit.rb (revision 35729) @@ -686,7 +686,7 @@ @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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/