Back to getOrDefault test

The main purpose was to test getOrDefault w/ non/null value does not
bother the resolution. To be aligned with test file
mapGetOrDefault_nullable.kt, this one should test getOrDefault too.
All we needed was // WITH_STDLIB
This commit is contained in:
Jinseong Jeon
2024-02-29 14:03:45 -08:00
committed by Space Team
parent cbabfc0fe2
commit b47a33cf9d
2 changed files with 4 additions and 2 deletions
@@ -1,3 +1,5 @@
// WITH_STDLIB
fun box(map: MutableMap<String, String>) {
map.g<caret>et("key")
map.get<caret>OrDefault("key", "value")
}