| 1 |
{ |
| 2 |
"source_filename": "tests/cli/component-model-error-context/error-context.wast", |
| 3 |
"commands": [ |
| 4 |
{ |
| 5 |
"type": "module", |
| 6 |
"line": 4, |
| 7 |
"filename": "error-context.0.wasm", |
| 8 |
"module_type": "binary" |
| 9 |
}, |
| 10 |
{ |
| 11 |
"type": "assert_invalid", |
| 12 |
"line": 16, |
| 13 |
"filename": "error-context.1.wasm", |
| 14 |
"module_type": "binary", |
| 15 |
"text": "type mismatch for export `error-context.new` of module instantiation argument ``" |
| 16 |
}, |
| 17 |
{ |
| 18 |
"type": "module", |
| 19 |
"line": 29, |
| 20 |
"filename": "error-context.2.wasm", |
| 21 |
"module_type": "binary" |
| 22 |
}, |
| 23 |
{ |
| 24 |
"type": "assert_invalid", |
| 25 |
"line": 44, |
| 26 |
"filename": "error-context.3.wasm", |
| 27 |
"module_type": "binary", |
| 28 |
"text": "type mismatch for export `error-context.debug-message` of module instantiation argument ``" |
| 29 |
}, |
| 30 |
{ |
| 31 |
"type": "module", |
| 32 |
"line": 60, |
| 33 |
"filename": "error-context.4.wasm", |
| 34 |
"module_type": "binary" |
| 35 |
}, |
| 36 |
{ |
| 37 |
"type": "assert_invalid", |
| 38 |
"line": 70, |
| 39 |
"filename": "error-context.5.wasm", |
| 40 |
"module_type": "binary", |
| 41 |
"text": "type mismatch for export `error-context.drop` of module instantiation argument ``" |
| 42 |
}, |
| 43 |
{ |
| 44 |
"type": "module", |
| 45 |
"line": 81, |
| 46 |
"filename": "error-context.6.wasm", |
| 47 |
"module_type": "binary" |
| 48 |
}, |
| 49 |
{ |
| 50 |
"type": "module", |
| 51 |
"line": 82, |
| 52 |
"filename": "error-context.7.wasm", |
| 53 |
"module_type": "binary" |
| 54 |
} |
| 55 |
] |
| 56 |
} |