ruby-changes:29151
From: nobu <ko1@a...>
Date: Mon, 10 Jun 2013 15:34:10 +0900 (JST)
Subject: [ruby-changes:29151] nobu:r41203 (trunk): test_beginendblock.rb: rename methods
nobu 2013-06-10 15:33:58 +0900 (Mon, 10 Jun 2013) New Revision: 41203 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41203 Log: test_beginendblock.rb: rename methods * test/ruby/test_beginendblock.rb: rename methods, tests always what "should" happen. Modified files: trunk/test/ruby/test_beginendblock.rb Index: test/ruby/test_beginendblock.rb =================================================================== --- test/ruby/test_beginendblock.rb (revision 41202) +++ test/ruby/test_beginendblock.rb (revision 41203) @@ -89,14 +89,14 @@ EOW https://github.com/ruby/ruby/blob/trunk/test/ruby/test_beginendblock.rb#L89 assert_match(/SomethingElse/, out, "[ruby-core:9675]") end - def test_should_propagate_exit_code + def test_propagate_exit_code ruby = EnvUtil.rubybin assert_equal false, system(ruby, '-e', 'at_exit{exit 2}') assert_equal 2, $?.exitstatus assert_nil $?.termsig end - def test_should_propagate_signaled + def test_propagate_signaled ruby = EnvUtil.rubybin out = IO.popen( [ruby, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/