diff options
Diffstat (limited to 'bootstraptest/pending.rb')
| -rw-r--r-- | bootstraptest/pending.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bootstraptest/pending.rb b/bootstraptest/pending.rb new file mode 100644 index 0000000000..2c4b85a419 --- /dev/null +++ b/bootstraptest/pending.rb @@ -0,0 +1,21 @@ +assert_equal 'ok', %q{ + def m + lambda{ + proc{ + return :ng1 + } + }.call.call + :ng2 + end + + begin + m() + rescue LocalJumpError + :ok + end +} + +# This randomly fails on mswin. +assert_equal %q{[]}, %q{ + Thread.new{sleep}.backtrace +} |
