Skip to content

Commit

Permalink
Fix a few binary version tests (#435)
Browse files Browse the repository at this point in the history
I missed updating a few cases to version 1 in binary.wast that are meant
to test endianness.
  • Loading branch information
binji authored and dschuff committed Feb 24, 2017
1 parent 002e57c commit b8b919e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/core/binary.wast
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
(assert_malformed (module "asm\00") "magic header not detected")
(assert_malformed (module "msa\00") "magic header not detected")
(assert_malformed (module "msa\00\01\00\00\00") "magic header not detected")
(assert_malformed (module "msa\00\00\00\00\0d") "magic header not detected")
(assert_malformed (module "msa\00\00\00\00\01") "magic header not detected")

(assert_malformed (module "\00asm") "unexpected end")
(assert_malformed (module "\00asm\01") "unexpected end")
(assert_malformed (module "\00asm\01\00\00") "unexpected end")
(assert_malformed (module "\00asm\0d\00\00\00") "unknown binary version")
(assert_malformed (module "\00asm\0e\00\00\00") "unknown binary version")
(assert_malformed (module "\00asm\00\00\00\0d") "unknown binary version")
(assert_malformed (module "\00asm\00\00\00\01") "unknown binary version")

0 comments on commit b8b919e

Please sign in to comment.