Fix typos in tests
This commit is contained in:
committed by
Yan Zhulanow
parent
cd17f59e21
commit
3b6b6d5770
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
import java.util.stream.LongStream
|
import java.util.stream.Stream
|
||||||
|
|
||||||
fun main(args: Array<String>) {
|
fun main(args: Array<String>) {
|
||||||
<caret> LongStream.of(10, 200, 3000).mapToDouble { it * 1000.1 }.count()
|
<caret> Stream.of(10, 200, 3000).mapToDouble { it * 1000.1 }.count()
|
||||||
}
|
}
|
||||||
@@ -19,9 +19,9 @@ class TypedJavaChainTest : TypedChainTestCase("streams/positive/types") {
|
|||||||
fun testPrimitiveOneCall() = doTest(INT)
|
fun testPrimitiveOneCall() = doTest(INT)
|
||||||
fun testPrimitiveMapToSame() = doTest(LONG, LONG)
|
fun testPrimitiveMapToSame() = doTest(LONG, LONG)
|
||||||
|
|
||||||
fun testMapToPrimitive() = doTest(NULLABLE_ANY, INT)
|
fun testMapToPrimitive() = doTest(NULLABLE_ANY, DOUBLE)
|
||||||
fun testMapToObj() = doTest(DOUBLE, NULLABLE_ANY)
|
fun testMapToObj() = doTest(DOUBLE, NULLABLE_ANY)
|
||||||
fun testMapPrimitiveToPrimitive() = doTest(LONG, DOUBLE)
|
fun testMapPrimitiveToPrimitive() = doTest(LONG, INT)
|
||||||
|
|
||||||
fun testFewTransitions() = doTest(NULLABLE_ANY, INT, NULLABLE_ANY, LONG, DOUBLE)
|
fun testFewTransitions() = doTest(NULLABLE_ANY, INT, NULLABLE_ANY, LONG, DOUBLE)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user