[FIR] Create test case to validate KT-56988 is working as expected

^KT-56988 Fixed
This commit is contained in:
Brian Norman
2024-03-08 09:37:13 -06:00
committed by Space Team
parent b839e2680e
commit c6c0abae82
8 changed files with 102 additions and 0 deletions
@@ -47140,6 +47140,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/testsWithStdLib/smartcasts/unsoundSmartcast.kt");
}
@Test
@TestMetadata("whileLoopNotNull.kt")
public void testWhileLoopNotNull() {
runTest("compiler/testData/diagnostics/testsWithStdLib/smartcasts/whileLoopNotNull.kt");
}
@Test
@TestMetadata("withChangesToNull.kt")
public void testWithChangesToNull() {
@@ -47140,6 +47140,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/testsWithStdLib/smartcasts/unsoundSmartcast.kt");
}
@Test
@TestMetadata("whileLoopNotNull.kt")
public void testWhileLoopNotNull() {
runTest("compiler/testData/diagnostics/testsWithStdLib/smartcasts/whileLoopNotNull.kt");
}
@Test
@TestMetadata("withChangesToNull.kt")
public void testWithChangesToNull() {