From 75f76e58cbe7179dbbcea1631caf3012da99c16c Mon Sep 17 00:00:00 2001 From: Andreas Rossberg Date: Tue, 28 Sep 2021 13:19:40 +0200 Subject: [PATCH] [test] Fix binary test --- test/core/binary.wast | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/core/binary.wast b/test/core/binary.wast index c6f975570b..ca25e542c1 100644 --- a/test/core/binary.wast +++ b/test/core/binary.wast @@ -1406,7 +1406,7 @@ (assert_malformed (module binary "\00asm" "\01\00\00\00" - "\05\03\01" ;; table section with one entry + "\04\03\01" ;; table section with one entry "\70" ;; anyfunc "\02" ;; malformed table limits flag ) @@ -1415,7 +1415,7 @@ (assert_malformed (module binary "\00asm" "\01\00\00\00" - "\05\04\01" ;; table section with one entry + "\04\04\01" ;; table section with one entry "\70" ;; anyfunc "\02" ;; malformed table limits flag "\00" ;; dummy byte @@ -1425,12 +1425,12 @@ (assert_malformed (module binary "\00asm" "\01\00\00\00" - "\05\06\01" ;; table section with one entry + "\04\06\01" ;; table section with one entry "\70" ;; anyfunc "\81\00" ;; malformed table limits flag as LEB128 "\00\00" ;; dummy bytes ) - "integer too large" + "integer representation too long" ) ;; Memory count can be zero