Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit af1d6ac

Browse files
committed
Try copying from spec repo's binary.wast (will revert)
1 parent 09e3b45 commit af1d6ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/core/binary.wast

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
(assert_malformed (module binary "\00asm\00\00\00\01") "unknown binary version")
4646

4747
;; Invalid section id.
48-
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\0e\00") "malformed section id")
48+
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\0d\00") "malformed section id")
4949
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\7f\00") "malformed section id")
5050
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\80\00\01\00") "malformed section id")
5151
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\81\00\01\00") "malformed section id")
@@ -1385,7 +1385,7 @@
13851385
"\02\04\01" ;; import section with single entry
13861386
"\00" ;; string length 0
13871387
"\00" ;; string length 0
1388-
"\05" ;; malformed import kind
1388+
"\04" ;; malformed import kind
13891389
)
13901390
"malformed import kind"
13911391
)
@@ -1395,7 +1395,7 @@
13951395
"\02\05\01" ;; import section with single entry
13961396
"\00" ;; string length 0
13971397
"\00" ;; string length 0
1398-
"\05" ;; malformed import kind
1398+
"\04" ;; malformed import kind
13991399
"\00" ;; dummy byte
14001400
)
14011401
"malformed import kind"

0 commit comments

Comments
 (0)