Fixed test

This commit is contained in:
Igor Chevdar
2017-05-24 15:26:56 +03:00
parent 2a4ee21bc7
commit 48f5962645
@@ -24,10 +24,10 @@ class VarByMapExtensionsTest {
assertEquals("empty", a2)
map["c"] = "string"
// fails { c } // does not fail in JS due to KT-8135
assertFailsWith<ClassCastException> { c }
map["a"] = null
a // fails { a } // does not fail due to KT-8135
assertFailsWith<TypeCastException> { a }
assertFailsWith<NoSuchElementException> { d }
map["d"] = null