Add test documenting a minor issue introduced in previous commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
//TODO: should not shorten references here
|
||||||
|
|
||||||
|
fun main(args: Array<String>) {
|
||||||
|
asse<caret>rt(false, "mess": kotlin.String)
|
||||||
|
}
|
||||||
|
|
||||||
|
// WITH_RUNTIME
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
//TODO: should not shorten references here
|
||||||
|
|
||||||
|
fun main(args: Array<String>) {
|
||||||
|
if (!false) {
|
||||||
|
throw AssertionError("mess": String)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// WITH_RUNTIME
|
||||||
@@ -2149,6 +2149,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
|
|||||||
doTest("idea/testData/intentions/convertAssertToIf/booleanConditionWithVariables.kt");
|
doTest("idea/testData/intentions/convertAssertToIf/booleanConditionWithVariables.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("doNotShortenReferenceInsideMessage.kt")
|
||||||
|
public void testDoNotShortenReferenceInsideMessage() throws Exception {
|
||||||
|
doTest("idea/testData/intentions/convertAssertToIf/doNotShortenReferenceInsideMessage.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("dotQualifiedCall.kt")
|
@TestMetadata("dotQualifiedCall.kt")
|
||||||
public void testDotQualifiedCall() throws Exception {
|
public void testDotQualifiedCall() throws Exception {
|
||||||
doTest("idea/testData/intentions/convertAssertToIf/dotQualifiedCall.kt");
|
doTest("idea/testData/intentions/convertAssertToIf/dotQualifiedCall.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user