зеркало из https://github.com/github/ruby.git
* 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:
Родитель
603f9304b2
Коммит
a615bbf40b
|
@ -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]'
|
||||
|
|
Загрузка…
Ссылка в новой задаче