| 1 |
{ |
| 2 |
"source_filename": "tests/cli/component-model/fixed-size-list.wast", |
| 3 |
"commands": [ |
| 4 |
{ |
| 5 |
"type": "module", |
| 6 |
"line": 3, |
| 7 |
"filename": "fixed-size-list.0.wasm", |
| 8 |
"module_type": "binary" |
| 9 |
}, |
| 10 |
{ |
| 11 |
"type": "module", |
| 12 |
"line": 15, |
| 13 |
"filename": "fixed-size-list.1.wasm", |
| 14 |
"module_type": "binary" |
| 15 |
}, |
| 16 |
{ |
| 17 |
"type": "assert_invalid", |
| 18 |
"line": 27, |
| 19 |
"filename": "fixed-size-list.2.wasm", |
| 20 |
"module_type": "binary", |
| 21 |
"text": "Fixed size lists must have more than zero elements (at offset 0x54)" |
| 22 |
}, |
| 23 |
{ |
| 24 |
"type": "assert_malformed", |
| 25 |
"line": 42, |
| 26 |
"filename": "fixed-size-list.3.wat", |
| 27 |
"module_type": "text", |
| 28 |
"text": "invalid u32 number: constant out of range" |
| 29 |
}, |
| 30 |
{ |
| 31 |
"type": "assert_invalid", |
| 32 |
"line": 57, |
| 33 |
"filename": "fixed-size-list.4.wasm", |
| 34 |
"module_type": "binary", |
| 35 |
"text": "type mismatch for import `x`" |
| 36 |
}, |
| 37 |
{ |
| 38 |
"type": "assert_invalid", |
| 39 |
"line": 70, |
| 40 |
"filename": "fixed-size-list.5.wasm", |
| 41 |
"module_type": "binary", |
| 42 |
"text": "type mismatch for import `x`" |
| 43 |
} |
| 44 |
] |
| 45 |
} |