Skip to content

Commit e50d0a7

Browse files
authored
[test] Remove duplicate binary tests (#1314)
1 parent acaaf8a commit e50d0a7

File tree

3 files changed

+16
-704
lines changed

3 files changed

+16
-704
lines changed

test/core/binary-leb128.wast

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@
2121
"\01\82\00" ;; minimum 2
2222
"\82\80\80\80\00" ;; max 2
2323
)
24+
(module binary
25+
"\00asm" "\01\00\00\00"
26+
"\05\03\01" ;; Memory section with 1 entry
27+
"\00\00" ;; no max, minimum 0
28+
"\0b\06\01" ;; Data section with 1 entry
29+
"\00" ;; Memory index 0
30+
"\41\00\0b\00" ;; (i32.const 0) with contents ""
31+
)
2432
(module binary
2533
"\00asm" "\01\00\00\00"
2634
"\05\03\01" ;; Memory section with 1 entry
@@ -29,6 +37,14 @@
2937
"\80\00" ;; Memory index 0, encoded with 2 bytes
3038
"\41\00\0b\00" ;; (i32.const 0) with contents ""
3139
)
40+
(module binary
41+
"\00asm" "\01\00\00\00"
42+
"\04\04\01" ;; Table section with 1 entry
43+
"\70\00\00" ;; no max, minimum 0, funcref
44+
"\09\06\01" ;; Element section with 1 entry
45+
"\00" ;; Table index 0
46+
"\41\00\0b\00" ;; (i32.const 0) with no elements
47+
)
3248
(module binary
3349
"\00asm" "\01\00\00\00"
3450
"\04\04\01" ;; Table section with 1 entry

0 commit comments

Comments
 (0)