ruby-changes:36813
From: usa <ko1@a...>
Date: Fri, 19 Dec 2014 22:03:49 +0900 (JST)
Subject: [ruby-changes:36813] usa:r48894 (trunk): * test/ruby/test_rubyoptions.rb: (TestRubyOptions#test_verbose): support RC.
usa 2014-12-19 22:03:36 +0900 (Fri, 19 Dec 2014) New Revision: 48894 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48894 Log: * test/ruby/test_rubyoptions.rb: (TestRubyOptions#test_verbose): support RC. see also r48888. reported by Vit Ondruch. Modified files: trunk/test/ruby/test_rubyoptions.rb Index: test/ruby/test_rubyoptions.rb =================================================================== --- test/ruby/test_rubyoptions.rb (revision 48893) +++ test/ruby/test_rubyoptions.rb (revision 48894) @@ -85,7 +85,7 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L85 def test_verbose assert_in_out_err(["-vve", ""]) do |r, e| - assert_match(/^ruby #{RUBY_VERSION}(?:[p ]|dev).*? \[#{RUBY_PLATFORM}\]$/, r.join) + assert_match(/^ruby #{RUBY_VERSION}(?:[p ]|dev|rc).*? \[#{RUBY_PLATFORM}\]$/, r.join) assert_equal RUBY_DESCRIPTION, r.join.chomp assert_equal([], e) end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/