| 1 |
{ |
| 2 |
"source_filename": "tests/cli/if-else-parsing.wast", |
| 3 |
"commands": [ |
| 4 |
{ |
| 5 |
"type": "module", |
| 6 |
"line": 3, |
| 7 |
"filename": "if-else-parsing.0.wasm", |
| 8 |
"module_type": "binary" |
| 9 |
}, |
| 10 |
{ |
| 11 |
"type": "assert_malformed", |
| 12 |
"line": 19, |
| 13 |
"filename": "if-else-parsing.1.wat", |
| 14 |
"module_type": "text", |
| 15 |
"text": "no `then`" |
| 16 |
}, |
| 17 |
{ |
| 18 |
"type": "assert_malformed", |
| 19 |
"line": 25, |
| 20 |
"filename": "if-else-parsing.2.wat", |
| 21 |
"module_type": "text", |
| 22 |
"text": "no `then`" |
| 23 |
}, |
| 24 |
{ |
| 25 |
"type": "assert_malformed", |
| 26 |
"line": 31, |
| 27 |
"filename": "if-else-parsing.3.wat", |
| 28 |
"module_type": "text", |
| 29 |
"text": "expected `(`" |
| 30 |
}, |
| 31 |
{ |
| 32 |
"type": "assert_malformed", |
| 33 |
"line": 36, |
| 34 |
"filename": "if-else-parsing.4.wat", |
| 35 |
"module_type": "text", |
| 36 |
"text": "no `then`" |
| 37 |
}, |
| 38 |
{ |
| 39 |
"type": "assert_malformed", |
| 40 |
"line": 41, |
| 41 |
"filename": "if-else-parsing.5.wat", |
| 42 |
"module_type": "text", |
| 43 |
"text": "expected `(`" |
| 44 |
} |
| 45 |
] |
| 46 |
} |