aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_proc.rb2
-rw-r--r--test/ruby/test_symbol.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_proc.rb b/test/ruby/test_proc.rb
index 2db9108534..57f28dafeb 100644
--- a/test/ruby/test_proc.rb
+++ b/test/ruby/test_proc.rb
@@ -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
diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb
index 012c487fd4..f3c1b99a6d 100644
--- a/test/ruby/test_symbol.rb
+++ b/test/ruby/test_symbol.rb
@@ -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")