summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c2b2b8ce9b..7baa806a45 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{