Debian Codegraph @

tests/snapshots/cli/component-model/invalid.wast.json

raw
1 {
2 "source_filename": "tests/cli/component-model/invalid.wast",
3 "commands": [
4 {
5 "type": "assert_invalid",
6 "line": 4,
7 "filename": "invalid.0.wasm",
8 "module_type": "binary",
9 "text": "type index out of bounds"
10 },
11 {
12 "type": "assert_malformed",
13 "line": 13,
14 "filename": "invalid.1.wat",
15 "module_type": "text",
16 "text": "unknown func"
17 },
18 {
19 "type": "assert_malformed",
20 "line": 19,
21 "filename": "invalid.2.wat",
22 "module_type": "text",
23 "text": "outer count of `100` is too large"
24 },
25 {
26 "type": "assert_malformed",
27 "line": 25,
28 "filename": "invalid.3.wat",
29 "module_type": "text",
30 "text": "outer component `nonexistent` not found"
31 },
32 {
33 "type": "assert_malformed",
34 "line": 31,
35 "filename": "invalid.4.wat",
36 "module_type": "text",
37 "text": "outer item `x` is not a module, type, or component"
38 }
39 ]
40 }