Subject: | Mojo::JSON::XS::_Bool objects do not compare as strings |
Test::More 0.95_02 changes how overloaded objects are tested. They are
no longer stringified before comparing. Previously, is() would do
"$have" eq "$want", now it does $have eq $want. This reveals string
overloaded objects which do not compare as strings.
The solution is to either set fallback => 1 in your overload or to
implement cmp (also <=> since you implement numerification).