[TEST] Fix long literal in testdata broken in 4374c06
This commit is contained in:
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
||||
class Box<T>(val value: T)
|
||||
|
||||
fun box() : String {
|
||||
val b = Box<Long>(2l * 3)
|
||||
val b = Box<Long>(2L * 3)
|
||||
val expected: Long? = 6L
|
||||
return if (b.value == expected) "OK" else "fail"
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
||||
class Box<T>(val value: T)
|
||||
|
||||
fun box() : String {
|
||||
val b = Box<Long>(x@ (1l + 2))
|
||||
val b = Box<Long>(x@ (1L + 2))
|
||||
val expected: Long? = 3L
|
||||
return if (b.value == expected) "OK" else "fail"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user