mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
skip new tests until fixed
* test/ruby/test_proc.rb, test/ruby/test_symbol.rb: skip new tests until fixed, for the time being. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b69699a08c
commit
c3e68ef04f
2 changed files with 4 additions and 0 deletions
|
@ -191,6 +191,7 @@ class TestProc < Test::Unit::TestCase
|
|||
|
||||
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
|
|||
|
||||
def test_block_persist_between_calls
|
||||
bug8341 = '[Bug #8341]'
|
||||
skip bug8341
|
||||
o = Object.new
|
||||
def o.m1(top=true)
|
||||
if top
|
||||
|
|
|
@ -128,6 +128,7 @@ class TestSymbol < Test::Unit::TestCase
|
|||
|
||||
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
|
|||
|
||||
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")
|
||||
|
|
Loading…
Add table
Reference in a new issue