Skip to content

Commit 397399a

Browse files
authored
[test] Fix binary test (#1367)
1 parent ac1bb59 commit 397399a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/core/binary.wast

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@
14061406
(assert_malformed
14071407
(module binary
14081408
"\00asm" "\01\00\00\00"
1409-
"\05\03\01" ;; table section with one entry
1409+
"\04\03\01" ;; table section with one entry
14101410
"\70" ;; anyfunc
14111411
"\02" ;; malformed table limits flag
14121412
)
@@ -1415,7 +1415,7 @@
14151415
(assert_malformed
14161416
(module binary
14171417
"\00asm" "\01\00\00\00"
1418-
"\05\04\01" ;; table section with one entry
1418+
"\04\04\01" ;; table section with one entry
14191419
"\70" ;; anyfunc
14201420
"\02" ;; malformed table limits flag
14211421
"\00" ;; dummy byte
@@ -1425,12 +1425,12 @@
14251425
(assert_malformed
14261426
(module binary
14271427
"\00asm" "\01\00\00\00"
1428-
"\05\06\01" ;; table section with one entry
1428+
"\04\06\01" ;; table section with one entry
14291429
"\70" ;; anyfunc
14301430
"\81\00" ;; malformed table limits flag as LEB128
14311431
"\00\00" ;; dummy bytes
14321432
)
1433-
"integer too large"
1433+
"integer representation too long"
14341434
)
14351435

14361436
;; Memory count can be zero

0 commit comments

Comments
 (0)