Add test case

This commit is contained in:
Chris Smowton
2023-02-17 19:16:36 +00:00
parent 4d1608aafa
commit 4e86edf4fe

View File

@@ -264,6 +264,9 @@ func testBoundsChecking(input string) {
_ = int16(parsed)
}
}
if parsed <= math.MaxUint32 {
_ = uint32(parsed)
}
}
{
parsed, err := strconv.ParseUint(input, 10, 32)