Skip to content

Commit

Permalink
fix matching
Browse files Browse the repository at this point in the history
* bootstraptest/test_thread.rb: String#=~ does not accept String.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Dec 5, 2013
1 parent 1973749 commit 1dcc985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstraptest/test_thread.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
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{
Expand Down

0 comments on commit 1dcc985

Please sign in to comment.