From 66f9d5fe11ca774b850cd55ca3476eb23d6db08a Mon Sep 17 00:00:00 2001 From: ktsj Date: Mon, 2 Jan 2012 06:25:01 +0000 Subject: * test/ruby/test_object.rb (test_send_with_block): moved from bootstraptest/test_flow.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_flow.rb | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'bootstraptest') diff --git a/bootstraptest/test_flow.rb b/bootstraptest/test_flow.rb index edc6e46f10..d40d814fbc 100644 --- a/bootstraptest/test_flow.rb +++ b/bootstraptest/test_flow.rb @@ -549,16 +549,3 @@ assert_equal %Q{ENSURE\n}, %q{ assert_equal "false", src + %q{e.all? {false}}, bug assert_equal "true", src + %q{e.include?(:foo)}, bug end -assert_equal %q{ok}, %q{ - $x = :ok - o = Object.new - def o.inspect - yield if block_given? - super - end - begin - nil.public_send(o) {$x = :ng} - rescue - end - $x -} -- cgit v1.2.3