Skip to content

Commit

Permalink
Try copying from spec repo's binary.wast (will revert)
Browse files Browse the repository at this point in the history
  • Loading branch information
aheejin committed Feb 18, 2023
1 parent 09e3b45 commit af1d6ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/core/binary.wast
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
(assert_malformed (module binary "\00asm\00\00\00\01") "unknown binary version")

;; Invalid section id.
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\0e\00") "malformed section id")
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\0d\00") "malformed section id")
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\7f\00") "malformed section id")
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\80\00\01\00") "malformed section id")
(assert_malformed (module binary "\00asm" "\01\00\00\00" "\81\00\01\00") "malformed section id")
Expand Down Expand Up @@ -1385,7 +1385,7 @@
"\02\04\01" ;; import section with single entry
"\00" ;; string length 0
"\00" ;; string length 0
"\05" ;; malformed import kind
"\04" ;; malformed import kind
)
"malformed import kind"
)
Expand All @@ -1395,7 +1395,7 @@
"\02\05\01" ;; import section with single entry
"\00" ;; string length 0
"\00" ;; string length 0
"\05" ;; malformed import kind
"\04" ;; malformed import kind
"\00" ;; dummy byte
)
"malformed import kind"
Expand Down

0 comments on commit af1d6ac

Please sign in to comment.