Show the failed message too
This commit is contained in:
parent
68321dd1fa
commit
93b27c69cc
|
@ -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 New Issue