mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* bootstraptest/test_knownbug.rb: add tests. [ruby-dev:34128]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b6c9957058
commit
2d656b7d28
2 changed files with 37 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Mar 25 19:34:05 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* bootstraptest/test_knownbug.rb: add tests. [ruby-dev:34128]
|
||||
|
||||
Tue Mar 25 19:09:04 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* array.c (ary_new): fix size check. [ruby-dev:34123]
|
||||
|
|
|
@ -64,3 +64,36 @@ assert_equal 'ok', %q{
|
|||
assert_normal_exit %q{
|
||||
sprintf("% 0e", 1.0/0.0)
|
||||
}
|
||||
|
||||
assert_normal_exit %q{
|
||||
g = Module.enum_for(:new)
|
||||
loop { g.next }
|
||||
}, '[ruby-dev:34128]'
|
||||
|
||||
assert_normal_exit %q{
|
||||
Fiber.new(&Object.method(:class_eval)).resume("foo")
|
||||
}, '[ruby-dev:34128]'
|
||||
|
||||
assert_normal_exit %q{
|
||||
Thread.new("foo", &Object.method(:class_eval)).join
|
||||
}, '[ruby-dev:34128]'
|
||||
|
||||
assert_normal_exit %q{
|
||||
g = enum_for(:local_variables)
|
||||
loop { g.next }
|
||||
}, '[ruby-dev:34128]'
|
||||
|
||||
assert_normal_exit %q{
|
||||
g = enum_for(:block_given?)
|
||||
loop { g.next }
|
||||
}, '[ruby-dev:34128]'
|
||||
|
||||
assert_normal_exit %q{
|
||||
g = enum_for(:binding)
|
||||
loop { g.next }
|
||||
}, '[ruby-dev:34128]'
|
||||
|
||||
assert_normal_exit %q{
|
||||
g = "abc".enum_for(:scan, /./)
|
||||
loop { g.next }
|
||||
}, '[ruby-dev:34128]'
|
||||
|
|
Loading…
Reference in a new issue