diff options
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/test_thread.rb | 2 |
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{ |