mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
603f9304b2
commit
a615bbf40b
2 changed files with 8 additions and 3 deletions
|
@ -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>
|
Sat Jan 12 04:38:38 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* ruby.c (process_options): -e'script' is locale encoding by default.
|
* ruby.c (process_options): -e'script' is locale encoding by default.
|
||||||
|
|
|
@ -253,10 +253,9 @@ assert_equal %q{3}, %q{
|
||||||
a + 2
|
a + 2
|
||||||
}.call
|
}.call
|
||||||
}
|
}
|
||||||
|
assert_equal %Q{ok\n}, %q{
|
||||||
assert_equal %q{ok}, %q{
|
|
||||||
class A; def get_block; proc {puts "ok"} end end
|
class A; def get_block; proc {puts "ok"} end end
|
||||||
block = A.new.get_block
|
block = A.new.get_block
|
||||||
GC.start
|
GC.start
|
||||||
block.call
|
block.call
|
||||||
}
|
}, '[ruby-core:14885]'
|
||||||
|
|
Loading…
Reference in a new issue