[FIR] Enhance equality smartcasting test case to include data classes

^KT-58169 Fixed
This commit is contained in:
Brian Norman
2024-02-02 08:14:16 -06:00
committed by Space Team
parent dd9f702516
commit 1f904aef55
10 changed files with 232 additions and 80 deletions
@@ -35082,6 +35082,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/smartCasts/enumEntryMembers_before.kt");
}
@Test
@TestMetadata("equalitySmartcast.kt")
public void testEqualitySmartcast() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/equalitySmartcast.kt");
}
@Test
@TestMetadata("equals.kt")
public void testEquals() throws Exception {
@@ -35082,6 +35082,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/smartCasts/enumEntryMembers_before.kt");
}
@Test
@TestMetadata("equalitySmartcast.kt")
public void testEqualitySmartcast() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/equalitySmartcast.kt");
}
@Test
@TestMetadata("equals.kt")
public void testEquals() throws Exception {