1
0
Fork 0
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:
Nobuyoshi Nakada 2019-12-12 23:26:29 +09:00
parent 68321dd1fa
commit 93b27c69cc
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -59,7 +59,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{