Add test for check expect/actual gutters at same module.
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
|||||||
|
package sample
|
||||||
|
|
||||||
|
expect fun <lineMarker descr="Has actuals in common">sameFile</lineMarker>()
|
||||||
|
|
||||||
|
actual fun <lineMarker>sameFile</lineMarker>() = Unit
|
||||||
|
|
||||||
|
expect fun <lineMarker descr="Has actuals in common">sameModule</lineMarker>()
|
||||||
|
|
||||||
|
fun noExpectActualDeclaration() = Unit
|
||||||
+5
@@ -0,0 +1,5 @@
|
|||||||
|
// !CHECK_HIGHLIGHTING
|
||||||
|
|
||||||
|
package sample
|
||||||
|
|
||||||
|
actual fun sameModule() = Unit
|
||||||
Generated
+5
@@ -73,6 +73,11 @@ public class MultiModuleLineMarkerTestGenerated extends AbstractMultiModuleLineM
|
|||||||
runTest("idea/testData/multiModuleLineMarker/expectEnumWithEnumEntriesInOneLine/");
|
runTest("idea/testData/multiModuleLineMarker/expectEnumWithEnumEntriesInOneLine/");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("expectWithActualInSameModule")
|
||||||
|
public void testExpectWithActualInSameModule() throws Exception {
|
||||||
|
runTest("idea/testData/multiModuleLineMarker/expectWithActualInSameModule/");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("expectWithOverload")
|
@TestMetadata("expectWithOverload")
|
||||||
public void testExpectWithOverload() throws Exception {
|
public void testExpectWithOverload() throws Exception {
|
||||||
runTest("idea/testData/multiModuleLineMarker/expectWithOverload/");
|
runTest("idea/testData/multiModuleLineMarker/expectWithOverload/");
|
||||||
|
|||||||
Reference in New Issue
Block a user