Split up Result API boxing tests
This commit is contained in:
committed by
Alexander Udalov
parent
2e53e36fd5
commit
49efa5fbc4
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
// !API_VERSION: 1.3
|
||||
// WITH_RUNTIME
|
||||
// FILE: test.kt
|
||||
fun test() {
|
||||
val result = Result.success("yes!")
|
||||
val other = Result.success("nope")
|
||||
if (result == other) println("==")
|
||||
if (result != other) println("!=")
|
||||
}
|
||||
|
||||
// @TestKt.class:
|
||||
// 0 INVOKESTATIC kotlin/Result.equals-impl0
|
||||
Reference in New Issue
Block a user