aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-12 02:29:47 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-12 02:29:47 +0000
commita615bbf40b96ee1b664d726daf11748d57842b66 (patch)
treead0daf4b10b63c4b4055714407f830d4172118b9
parent603f9304b285e31b39b705584b72218e80db8648 (diff)
downloadruby-a615bbf40b96ee1b664d726daf11748d57842b66.tar.gz
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@15000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--bootstraptest/test_proc.rb5
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 9326f8e364..09c7844de6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Jan 12 11:29:45 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * bootstraptest/test_proc.rb: fixed wrong expected result. pointed
+ out by Kornelius "murphy" Kalnbach <murphy AT rubychan.de> in
+ [ruby-core:15022].
+
Sat Jan 12 04:38:38 2008 NARUSE, Yui <naruse@ruby-lang.org>
* ruby.c (process_options): -e'script' is locale encoding by default.
diff --git a/bootstraptest/test_proc.rb b/bootstraptest/test_proc.rb
index 875a000b7c..ab309fe534 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]'