diff --git a/compiler/testData/diagnostics/tests/nullabilityAndAutoCasts/kt362.kt b/compiler/testData/diagnostics/tests/nullabilityAndAutoCasts/kt362.kt index f367e64fbe3..0bea08369bd 100644 --- a/compiler/testData/diagnostics/tests/nullabilityAndAutoCasts/kt362.kt +++ b/compiler/testData/diagnostics/tests/nullabilityAndAutoCasts/kt362.kt @@ -8,9 +8,9 @@ fun test() { if (p.public is Int) p.public + 1 if (p.protected is Int) p.protected + 1 if (p.internal is Int) p.internal + 1 - val i = test.Public() - if (i.public is Int) i.public + 1 - if (i.protected is Int) i.protected + 1 + val i = test.Internal() + if (i.public is Int) i.public + 1 + if (i.protected is Int) i.protected + 1 if (i.internal is Int) i.internal + 1 }