mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Show the failed message too
This commit is contained in:
parent
68321dd1fa
commit
93b27c69cc
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ begin
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rescue ThreadError => e
|
rescue ThreadError => e
|
||||||
:ok if /can't create Thread/ =~ e.message
|
/can't create Thread/ =~ e.message ? :ok : e.message
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
assert_equal %q{ok}, %q{
|
assert_equal %q{ok}, %q{
|
||||||
|
|
Loading…
Reference in a new issue