LV 2.0: drop a duplicating CLI test
This commit is contained in:
committed by
Space Team
parent
198aa675cc
commit
3e1f4c11dc
-5
@@ -1,5 +0,0 @@
|
|||||||
$TESTDATA_DIR$/useDeclarationThatWasExperimentalWithoutMarker2.kt
|
|
||||||
-d
|
|
||||||
$TEMP_DIR$
|
|
||||||
-api-version
|
|
||||||
1.7
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
//This test is extracted from useDeclarationThatWasExperimentalWithoutMarker.kt to check warnings in output
|
|
||||||
|
|
||||||
import kotlin.math.*
|
|
||||||
|
|
||||||
fun test(p: ULong) {
|
|
||||||
val z: ULong = p
|
|
||||||
z.inv()
|
|
||||||
cbrt(z.toDouble())
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.kt:8:5: error: this declaration needs opt-in. Its usage must be marked with '@kotlin.ExperimentalStdlibApi' or '@OptIn(kotlin.ExperimentalStdlibApi::class)'
|
|
||||||
cbrt(z.toDouble())
|
|
||||||
^
|
|
||||||
COMPILATION_ERROR
|
|
||||||
@@ -1200,11 +1200,6 @@ public class CliTestGenerated extends AbstractCliTest {
|
|||||||
runTest("compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.args");
|
runTest("compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.args");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("useDeclarationThatWasExperimentalWithoutMarker2.args")
|
|
||||||
public void testUseDeclarationThatWasExperimentalWithoutMarker2() throws Exception {
|
|
||||||
runTest("compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.args");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("useMixedNamedArgumentsFlag.args")
|
@TestMetadata("useMixedNamedArgumentsFlag.args")
|
||||||
public void testUseMixedNamedArgumentsFlag() throws Exception {
|
public void testUseMixedNamedArgumentsFlag() throws Exception {
|
||||||
runTest("compiler/testData/cli/jvm/useMixedNamedArgumentsFlag.args");
|
runTest("compiler/testData/cli/jvm/useMixedNamedArgumentsFlag.args");
|
||||||
|
|||||||
Reference in New Issue
Block a user