diff --git a/js/js.translator/testData/box/export/exportNestedClass.kt b/js/js.translator/testData/box/export/exportNestedClass.kt index ac724223f75..5bb3a61cecc 100644 --- a/js/js.translator/testData/box/export/exportNestedClass.kt +++ b/js/js.translator/testData/box/export/exportNestedClass.kt @@ -16,10 +16,14 @@ class B { override fun foo(k: String): String { return "O" + k } + + fun bar(k: String): String { + return foo(k) + } } } // FILE: test.js function box() { - return new this["export-nested-class"].B.Foo().foo("K"); + return new this["export-nested-class"].B.Foo().bar("K"); } \ No newline at end of file