summaryrefslogtreecommitdiff
path: root/bootstraptest/test_thread.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bootstraptest/test_thread.rb')
-rw-r--r--bootstraptest/test_thread.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb
index c2b2b8c..7baa806 100644
--- a/bootstraptest/test_thread.rb
+++ b/bootstraptest/test_thread.rb
@@ -22,7 +22,7 @@ begin
}
v == 20100 ? :ok : v
rescue ThreadError => e
- :ok if e.message =~ "can't create Thread"
+ :ok if /can't create Thread/ =~ e.message
end
}
assert_equal %q{5000}, %q{