ruby-changes:29292
From: nobu <ko1@a...>
Date: Mon, 17 Jun 2013 10:01:28 +0900 (JST)
Subject: [ruby-changes:29292] nobu:r41344 (trunk): skip new tests until fixed
nobu 2013-06-17 10:01:12 +0900 (Mon, 17 Jun 2013) New Revision: 41344 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41344 Log: skip new tests until fixed * test/ruby/test_proc.rb, test/ruby/test_symbol.rb: skip new tests until fixed, for the time being. Modified files: trunk/test/ruby/test_proc.rb trunk/test/ruby/test_symbol.rb Index: test/ruby/test_proc.rb =================================================================== --- test/ruby/test_proc.rb (revision 41343) +++ test/ruby/test_proc.rb (revision 41344) @@ -191,6 +191,7 @@ class TestProc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_proc.rb#L191 def test_block_given_method_to_proc bug8341 = '[Bug #8341]' + skip bug8341 m = method(:m_block_given?).to_proc assert(!m.call, "#{bug8341} without block") assert(m.call {}, "#{bug8341} with block") @@ -199,6 +200,7 @@ class TestProc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_proc.rb#L200 def test_block_persist_between_calls bug8341 = '[Bug #8341]' + skip bug8341 o = Object.new def o.m1(top=true) if top Index: test/ruby/test_symbol.rb =================================================================== --- test/ruby/test_symbol.rb (revision 41343) +++ test/ruby/test_symbol.rb (revision 41344) @@ -128,6 +128,7 @@ class TestSymbol < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_symbol.rb#L128 def test_block_given_to_proc bug8531 = '[Bug #8531]' + skip bug8531 m = :m_block_given?.to_proc assert(!m.call(self), "#{bug8531} without block") assert(m.call(self) {}, "#{bug8531} with block") @@ -136,6 +137,7 @@ class TestSymbol < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_symbol.rb#L137 def test_block_persist_between_calls bug8531 = '[Bug #8531]' + skip bug8531 m = :m_block_given?.to_proc m2 = :m2_block_given?.to_proc assert_equal([true, false], m2.call(self) {}, "#{bug8531} nested with block") -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/