Minor. Fix testData

This commit is contained in:
Denis Zharkov
2016-07-25 15:18:15 +03:00
parent efb5a9eca6
commit f2cb86c3f6
2 changed files with 12 additions and 12 deletions

View File

@@ -57,12 +57,12 @@ fun box(): String {
if (a.remove("abc", "123")) return "fail 2"
val mm = a as MutableMap<Any?, Any?>
if (!a.remove("abc", "cde")) return "fail 3"
if (a.remove("abc", "123")) return "fail 4"
if (a.remove(1, "cde")) return "fail 5"
if (a.remove(null, "cde")) return "fail 6"
if (a.remove("abc", null)) return "fail 7"
if (a.remove(null, null)) return "fail 7"
if (!mm.remove("abc", "cde")) return "fail 3"
if (mm.remove("abc", "123")) return "fail 4"
if (mm.remove(1, "cde")) return "fail 5"
if (mm.remove(null, "cde")) return "fail 6"
if (mm.remove("abc", null)) return "fail 7"
if (mm.remove(null, null)) return "fail 8"
return "OK"
}

View File

@@ -57,12 +57,12 @@ fun box(): String {
if (a.remove("abc", "123")) return "fail 2"
val mm = a as MutableMap<Any?, Any?>
if (!a.remove("abc", "cde")) return "fail 3"
if (a.remove("abc", "123")) return "fail 4"
if (a.remove(1, "cde")) return "fail 5"
if (a.remove(null, "cde")) return "fail 6"
if (a.remove("abc", null)) return "fail 7"
if (a.remove(null, null)) return "fail 7"
if (!mm.remove("abc", "cde")) return "fail 3"
if (mm.remove("abc", "123")) return "fail 4"
if (mm.remove(1, "cde")) return "fail 5"
if (mm.remove(null, "cde")) return "fail 6"
if (mm.remove("abc", null)) return "fail 7"
if (mm.remove(null, null)) return "fail 8"
return "OK"
}