* 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
This commit is contained in:
nobu 2008-01-12 02:29:47 +00:00
Родитель 603f9304b2
Коммит a615bbf40b
2 изменённых файлов: 8 добавлений и 3 удалений

Просмотреть файл

@ -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.

Просмотреть файл

@ -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]'