Skip to content

Commit fea9ca9

Browse files
committed
Fix reference tests
For some reason a couple of functions got switched around; no actual meaningful changes.
1 parent 9460acc commit fea9ca9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

crates/cli/tests/reference/anyref-import-catch.wat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
(type (;3;) (func (param i32) (result i32)))
66
(import "./reference_test_bg.js" "__wbindgen_init_externref_table" (func (;0;) (type 0)))
77
(func $__wbindgen_exn_store (;1;) (type 2) (param i32))
8-
(func $__externref_table_dealloc (;2;) (type 2) (param i32))
9-
(func $exported (;3;) (type 2) (param i32))
8+
(func $exported (;2;) (type 2) (param i32))
9+
(func $__externref_table_dealloc (;3;) (type 2) (param i32))
1010
(func $__externref_table_alloc (;4;) (type 1) (result i32))
1111
(func $__wbindgen_add_to_stack_pointer (;5;) (type 3) (param i32) (result i32))
1212
(table (;0;) 128 externref)

crates/cli/tests/reference/builder.wat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
(module
22
(type (;0;) (func (result i32)))
33
(type (;1;) (func (param i32)))
4-
(func $__wbg_classbuilder_free (;0;) (type 1) (param i32))
5-
(func $classbuilder_builder (;1;) (type 0) (result i32))
4+
(func $classbuilder_builder (;0;) (type 0) (result i32))
5+
(func $__wbg_classbuilder_free (;1;) (type 1) (param i32))
66
(memory (;0;) 17)
77
(export "memory" (memory 0))
88
(export "__wbg_classbuilder_free" (func $__wbg_classbuilder_free))

crates/cli/tests/reference/constructor.wat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
(module
22
(type (;0;) (func (result i32)))
33
(type (;1;) (func (param i32)))
4-
(func $__wbg_classconstructor_free (;0;) (type 1) (param i32))
5-
(func $classconstructor_new (;1;) (type 0) (result i32))
4+
(func $classconstructor_new (;0;) (type 0) (result i32))
5+
(func $__wbg_classconstructor_free (;1;) (type 1) (param i32))
66
(memory (;0;) 17)
77
(export "memory" (memory 0))
88
(export "__wbg_classconstructor_free" (func $__wbg_classconstructor_free))

0 commit comments

Comments
 (0)