-
-
Save anna-is-cute/6b3c2d77b1328b2f63a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| assertNull(mapOf<String, String>().getRaw(null)) // fails, kotlin.Unit instead of null | |
| assertEquals(Unit, mapOf<String, String>().getRaw(null)) // passes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment