summaryrefslogtreecommitdiff
path: root/test/ruby/test_symbol.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_symbol.rb')
-rw-r--r--test/ruby/test_symbol.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb
index 3a4f68cdd5..214158e864 100644
--- a/test/ruby/test_symbol.rb
+++ b/test/ruby/test_symbol.rb
@@ -136,11 +136,9 @@ 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")
- assert_equal([false, false], m2.call(self), "#{bug8531} nested without block")
+ assert_equal([true, false], m2.call(self, m2) {}, "#{bug8531} nested with block")
+ assert_equal([false, false], m2.call(self, m2), "#{bug8531} nested without block")
end
def test_succ