[JS TESTS] Replace - symbol in module name with _

This commit is contained in:
Ivan Kylchik
2021-08-30 15:41:19 +03:00
parent 3cbeb08f79
commit 2bea77d4e2
17 changed files with 38 additions and 38 deletions
@@ -4,7 +4,7 @@
// INFER_MAIN_MODULE
// SKIP_NODE_JS
// MODULE: non-identifier-module-name
// MODULE: non_identifier_module_name
// FILE: lib.kt
@JsName("foo")
@JsExport
@@ -12,5 +12,5 @@ public fun foo(k: String): String = "O$k"
// FILE: test.js
function box() {
return this["non-identifier-module-name"].foo("K");
return this["non_identifier_module_name"].foo("K");
}