diff --git a/js/js.tests/test/org/jetbrains/k2js/test/semantics/NativeInteropTest.java b/js/js.tests/test/org/jetbrains/k2js/test/semantics/NativeInteropTest.java index 6d50f14f77b..0b72d4095ac 100644 --- a/js/js.tests/test/org/jetbrains/k2js/test/semantics/NativeInteropTest.java +++ b/js/js.tests/test/org/jetbrains/k2js/test/semantics/NativeInteropTest.java @@ -76,7 +76,7 @@ public final class NativeInteropTest extends SingleFileTranslationTest { fooBoxTest(); } - public void testKt2388() throws Exception { + public void testKt_2388() throws Exception { fooBoxTest(); } } diff --git a/js/js.translator/testFiles/native/cases/Kt2388.kt b/js/js.translator/testFiles/native/cases/kt_2388.kt similarity index 100% rename from js/js.translator/testFiles/native/cases/Kt2388.kt rename to js/js.translator/testFiles/native/cases/kt_2388.kt diff --git a/js/js.translator/testFiles/native/native/Kt2388.js b/js/js.translator/testFiles/native/native/Kt2388.js deleted file mode 100644 index 9593fd9db39..00000000000 --- a/js/js.translator/testFiles/native/native/Kt2388.js +++ /dev/null @@ -1,3 +0,0 @@ -function _setTimeout(callback) { - callback.call({}); -} diff --git a/js/js.translator/testFiles/native/native/kt_2388.js b/js/js.translator/testFiles/native/native/kt_2388.js new file mode 100644 index 00000000000..b195cc58d92 --- /dev/null +++ b/js/js.translator/testFiles/native/native/kt_2388.js @@ -0,0 +1,19 @@ +/* + * Copyright 2010-2012 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +function _setTimeout(callback) { + callback.call({}); +}