Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Commit b2d34e0

Browse files
gahaasrossberg
authored andcommitted
[test] Use more JS-compatible names (#47)
1 parent 86c7e35 commit b2d34e0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/core/linking.wast

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@
109109
)
110110

111111

112-
(module $Mglobal-ex
112+
(module $Mglobal_ex
113113
(func $f)
114114
(global (export "g") anyref (ref.func $f))
115115
)
116-
(register "Mglobal-ex" $Mglobal-ex)
116+
(register "Mglobal_ex" $Mglobal_ex)
117117

118118
(assert_unlinkable
119-
(module (global (import "Mglobal-ex" "g") funcref))
119+
(module (global (import "Mglobal_ex" "g") funcref))
120120
"incompatible import type"
121121
)
122122

@@ -277,15 +277,15 @@
277277
(assert_trap (invoke $Mt "call" (i32.const 7)) "uninitialized")
278278

279279

280-
(module $Mtable-ex
280+
(module $Mtable_ex
281281
(func $f)
282282
(table $t (export "t") 1 anyref)
283283
(elem (i32.const 0) $f)
284284
)
285-
(register "Mtable-ex" $Mtable-ex)
285+
(register "Mtable_ex" $Mtable_ex)
286286

287287
(assert_unlinkable
288-
(module (table (import "Mtable-ex" "t") 1 funcref))
288+
(module (table (import "Mtable_ex" "t") 1 funcref))
289289
"incompatible import type"
290290
)
291291

0 commit comments

Comments
 (0)