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
1 changed files with 1 additions and 1 deletions

View File

@ -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{