Files
swift/test
Alistair Coles e984de864d trivial: assert non_negative_int treats float as valid
Prior to the Related-Change, non_negative_int would raise a ValueError
if it was passed a positive float. It now casts the float to an int,
which is consistent with the docstring.

This patch adds test assertions to verify this behavior, and similar
behavior of config_positive_int_value.

Change-Id: I5d62e14c228544af634190f16321ee97a8c4211c
Related-Change: I06508279d59fa57296dd85548f271a7812aeb45f
2024-07-17 10:25:10 +01:00
..
2024-03-14 20:45:47 -07:00
2024-03-12 13:48:02 +00:00
2023-01-19 12:56:08 -08:00
2020-05-15 22:38:04 -07:00