Suppress signed literals used as unsigned values in stdlib tests

This commit is contained in:
Ilya Gorbunov
2018-09-02 06:56:49 +03:00
parent c36d0e5db5
commit 64996618b3
3 changed files with 3 additions and 0 deletions
@@ -212,6 +212,7 @@ class StringNumberConversionTest {
assertFailsOrNull(" ")
}
@Suppress("SIGNED_CONSTANT_CONVERTED_TO_UNSIGNED")
compareConversionWithRadix(String::toUInt, String::toUIntOrNull) {
assertProduces(10, "0", 0u)
assertProduces(10, "473", 473u)