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