Skip to content

Commit 11cdc2d

Browse files
committed
update
1 parent 03cdb71 commit 11cdc2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core-kotlin-modules/core-kotlin-lang-oop-3/src/test/kotlin/com/baeldung/implicitAndQualifiedthis/ImplicitAndQualifiedthisUnitTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class ImplicitAndQualifiedthisUnitTest {
1313

1414
class Outer {
1515

16-
fun cekThis() {
16+
fun checkThis() {
1717
val b = this
1818
assertEquals(Outer::class.java.name, b::class.java.name)
1919
}
@@ -53,7 +53,7 @@ class ImplicitAndQualifiedthisUnitTest {
5353
val inner = Outer().Inner()
5454
inner.run { 42.foo() }
5555

56-
Outer().cekThis()
56+
Outer().checkThis()
5757

5858
assertEquals("Member function", Outer().invokePrintLine())
5959
assertEquals("Top-level function", Outer().invokePrintLine(omitThis = true))

0 commit comments

Comments
 (0)