mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix matching
* 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
This commit is contained in:
parent
19737494b9
commit
1dcc985092
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ begin
|
||||||
}
|
}
|
||||||
v == 20100 ? :ok : v
|
v == 20100 ? :ok : v
|
||||||
rescue ThreadError => e
|
rescue ThreadError => e
|
||||||
:ok if e.message =~ "can't create Thread"
|
:ok if /can't create Thread/ =~ e.message
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
assert_equal %q{5000}, %q{
|
assert_equal %q{5000}, %q{
|
||||||
|
|
Loading…
Reference in a new issue