diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-12 02:29:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-12 02:29:47 +0000 |
commit | bab6f70c551aa5f4c7147d8fc9ebd8db9d21cb9a (patch) | |
tree | ad0daf4b10b63c4b4055714407f830d4172118b9 /bootstraptest | |
parent | 0c95a0a3c8fd2a83b9ed7dbe38c625817301aa8f (diff) | |
download | ruby-bab6f70c551aa5f4c7147d8fc9ebd8db9d21cb9a.tar.gz ruby-bab6f70c551aa5f4c7147d8fc9ebd8db9d21cb9a.tar.xz ruby-bab6f70c551aa5f4c7147d8fc9ebd8db9d21cb9a.zip |
* bootstraptest/test_proc.rb: fixed wrong expected result. pointed
out by Kornelius "murphy" Kalnbach <murphy AT rubychan.de> in
[ruby-core:15022].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_proc.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bootstraptest/test_proc.rb b/bootstraptest/test_proc.rb index 875a000b7..ab309fe53 100644 --- a/bootstraptest/test_proc.rb +++ b/bootstraptest/test_proc.rb @@ -253,10 +253,9 @@ assert_equal %q{3}, %q{ a + 2 }.call } - -assert_equal %q{ok}, %q{ +assert_equal %Q{ok\n}, %q{ class A; def get_block; proc {puts "ok"} end end block = A.new.get_block GC.start block.call -} +}, '[ruby-core:14885]' |