Files
e984de864dd0895f4bde81bed56691c48e7cea52
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