aboutsummaryrefslogtreecommitdiffstats
path: root/bootstraptest/test_thread.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bootstraptest/test_thread.rb')
-rw-r--r--bootstraptest/test_thread.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb
index d16295de8b..854065f87e 100644
--- a/bootstraptest/test_thread.rb
+++ b/bootstraptest/test_thread.rb
@@ -11,6 +11,9 @@ assert_equal %q{ok}, %q{
}.value
}
assert_equal %q{ok}, %q{
+ :ok if Thread.new{sleep}.backtrace == []
+}
+assert_equal %q{ok}, %q{
begin
v = 0
(1..200).map{|i|