Add test for exhaustive when with subject of Boolean! type

This commit is contained in:
Dmitriy Novozhilov
2021-06-25 10:00:31 +03:00
committed by teamcityserver
parent 09994ee8ea
commit 8a2e0cedf9
6 changed files with 59 additions and 0 deletions
@@ -31001,6 +31001,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt");
}
@Test
@TestMetadata("ExhaustivePlatformBoolean.kt")
public void testExhaustivePlatformBoolean() throws Exception {
runTest("compiler/testData/diagnostics/tests/when/ExhaustivePlatformBoolean.kt");
}
@Test
@TestMetadata("ExhaustivePlatformEnum.kt")
public void testExhaustivePlatformEnum() throws Exception {
@@ -31001,6 +31001,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
runTest("compiler/testData/diagnostics/tests/when/ExhaustiveNullable.kt");
}
@Test
@TestMetadata("ExhaustivePlatformBoolean.kt")
public void testExhaustivePlatformBoolean() throws Exception {
runTest("compiler/testData/diagnostics/tests/when/ExhaustivePlatformBoolean.kt");
}
@Test
@TestMetadata("ExhaustivePlatformEnum.kt")
public void testExhaustivePlatformEnum() throws Exception {