summaryrefslogtreecommitdiff
path: root/test/lit/merge/renamings.wat.second
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-01-08 11:46:30 -0800
committerGitHub <noreply@github.com>2024-01-08 11:46:30 -0800
commitcc0fab918aed3643abdc3566ade3f70f06d1d954 (patch)
tree923fe1e125e7b4f95c2dfa20e4525f1c10a190f2 /test/lit/merge/renamings.wat.second
parent82057de7666b84424f8d2bd90e941762e4e14f0e (diff)
downloadbinaryen-cc0fab918aed3643abdc3566ade3f70f06d1d954.tar.gz
binaryen-cc0fab918aed3643abdc3566ade3f70f06d1d954.tar.bz2
binaryen-cc0fab918aed3643abdc3566ade3f70f06d1d954.zip
Fix incorrect wat in tests (#6207)
The new wat parser is much more strict than the legacy wat parser; the latter accepts all sorts of things that the spec does not allow. To ease an eventual transition to using the new wat parser by default, update the tests to use the standard text format in many places where they previously did not. We do not yet have a way to prevent new errors from being introduced into the test suite, but at least there will now be many fewer errors when it comes time to make the switch.
Diffstat (limited to 'test/lit/merge/renamings.wat.second')
-rw-r--r--test/lit/merge/renamings.wat.second4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lit/merge/renamings.wat.second b/test/lit/merge/renamings.wat.second
index 5c3c5d299..f3489e620 100644
--- a/test/lit/merge/renamings.wat.second
+++ b/test/lit/merge/renamings.wat.second
@@ -20,9 +20,9 @@
(table $other 70 80 funcref)
- (elem $other (ref null func) $foo $other)
+ (elem $other func $foo $other)
- (elem $bar (ref null func) $other $foo)
+ (elem $bar func $other $foo)
(global $other i32 (i32.const 3))