p5-Mouse
p5-Mouse copied to clipboard
Fix an edge case of non-Int being wrongly validated as Int
This PR is basically a port of the issue #8 in Type::Tiny::XS repo as well as PR #9 to Mouse::XS.
The newly added test file includes the fail test cases provided by @Ovid and @haarg. I expend it to include some other scenarios too.