diff options
Diffstat (limited to 'bootstraptest/pending.rb')
| -rw-r--r-- | bootstraptest/pending.rb | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/bootstraptest/pending.rb b/bootstraptest/pending.rb index 744c0adac1..2c4b85a419 100644 --- a/bootstraptest/pending.rb +++ b/bootstraptest/pending.rb @@ -1,19 +1,3 @@ -assert_equal 'A', %q{ - class A - @@a = 'A' - def a=(x) - @@a = x - end - def a - @@a - end - end - - B = A.dup - B.new.a = 'B' - A.new.a -}, '[ruby-core:17019]' - assert_equal 'ok', %q{ def m lambda{ @@ -31,9 +15,7 @@ assert_equal 'ok', %q{ end } -assert_normal_exit %q{ - r = Range.allocate - def r.<=>(o) true end - r.instance_eval { initialize r, r } - r.inspect +# This randomly fails on mswin. +assert_equal %q{[]}, %q{ + Thread.new{sleep}.backtrace } |
