Skip to content

Commit

Permalink
Update test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Sep 10, 2024
1 parent 1be5fff commit 0996998
Show file tree
Hide file tree
Showing 577 changed files with 18,579 additions and 18,579 deletions.
10 changes: 5 additions & 5 deletions tests/snapshots/local/atomics.wast.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
{
"type": "module",
"line": 1,
"module_type": "binary",
"filename": "atomics.0.wasm"
"filename": "atomics.0.wasm",
"module_type": "binary"
},
{
"type": "module",
"line": 6,
"module_type": "binary",
"filename": "atomics.1.wasm"
"filename": "atomics.1.wasm",
"module_type": "binary"
},
{
"type": "assert_invalid",
"line": 16,
"module_type": "binary",
"filename": "atomics.2.wasm",
"module_type": "binary",
"text": "unknown memory 1"
}
]
Expand Down
6 changes: 3 additions & 3 deletions tests/snapshots/local/bad-nan.wast.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
{
"type": "assert_malformed",
"line": 2,
"module_type": "text",
"filename": "bad-nan.0.wat",
"module_type": "text",
"text": "constant out of range"
},
{
"type": "assert_malformed",
"line": 6,
"module_type": "text",
"filename": "bad-nan.1.wat",
"module_type": "text",
"text": "constant out of range"
},
{
"type": "assert_malformed",
"line": 10,
"module_type": "text",
"filename": "bad-nan.2.wat",
"module_type": "text",
"text": "constant out of range"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,47 @@
{
"type": "module",
"line": 1,
"module_type": "binary",
"filename": "branch-hinting-simple.0.wasm"
"filename": "branch-hinting-simple.0.wasm",
"module_type": "binary"
},
{
"type": "module",
"line": 26,
"module_type": "binary",
"filename": "branch-hinting-simple.1.wasm"
"filename": "branch-hinting-simple.1.wasm",
"module_type": "binary"
},
{
"type": "module",
"line": 37,
"module_type": "binary",
"filename": "branch-hinting-simple.2.wasm"
"filename": "branch-hinting-simple.2.wasm",
"module_type": "binary"
},
{
"type": "assert_invalid",
"line": 62,
"module_type": "text",
"filename": "branch-hinting-simple.3.wat",
"module_type": "text",
"text": "expected valid module field"
},
{
"type": "assert_invalid",
"line": 65,
"module_type": "text",
"filename": "branch-hinting-simple.4.wat",
"module_type": "text",
"text": "expected a string"
},
{
"type": "assert_invalid",
"line": 68,
"module_type": "text",
"filename": "branch-hinting-simple.5.wat",
"module_type": "text",
"text": "invalid value for branch hint"
},
{
"type": "module",
"line": 72,
"module_type": "binary",
"filename": "branch-hinting-simple.6.wasm"
"filename": "branch-hinting-simple.6.wasm",
"module_type": "binary"
}
]
}
14 changes: 7 additions & 7 deletions tests/snapshots/local/code-after-end.wast.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,50 +4,50 @@
{
"type": "assert_invalid",
"line": 2,
"module_type": "binary",
"filename": "code-after-end.0.wasm",
"module_type": "binary",
"text": "operators remaining after end of function"
},
{
"type": "assert_invalid",
"line": 7,
"module_type": "binary",
"filename": "code-after-end.1.wasm",
"module_type": "binary",
"text": "operators remaining after end of function"
},
{
"type": "assert_invalid",
"line": 12,
"module_type": "binary",
"filename": "code-after-end.2.wasm",
"module_type": "binary",
"text": "operators remaining after end of function"
},
{
"type": "assert_invalid",
"line": 17,
"module_type": "binary",
"filename": "code-after-end.3.wasm",
"module_type": "binary",
"text": "operators remaining after end of function"
},
{
"type": "assert_invalid",
"line": 22,
"module_type": "binary",
"filename": "code-after-end.4.wasm",
"module_type": "binary",
"text": "operators remaining after end of function"
},
{
"type": "assert_invalid",
"line": 27,
"module_type": "binary",
"filename": "code-after-end.5.wasm",
"module_type": "binary",
"text": "operators remaining after end of function"
},
{
"type": "assert_invalid",
"line": 32,
"module_type": "binary",
"filename": "code-after-end.6.wasm",
"module_type": "binary",
"text": "operators remaining after end of function"
}
]
Expand Down
4 changes: 2 additions & 2 deletions tests/snapshots/local/component-model/a.wast.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
{
"type": "module",
"line": 4,
"module_type": "binary",
"filename": "a.0.wasm"
"filename": "a.0.wasm",
"module_type": "binary"
}
]
}
42 changes: 21 additions & 21 deletions tests/snapshots/local/component-model/adapt.wast.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,132 +4,132 @@
{
"type": "module",
"line": 1,
"module_type": "binary",
"filename": "adapt.0.wasm"
"filename": "adapt.0.wasm",
"module_type": "binary"
},
{
"type": "assert_invalid",
"line": 75,
"module_type": "binary",
"filename": "adapt.1.wasm",
"module_type": "binary",
"text": "canonical encoding option `utf8` conflicts with option `utf16`"
},
{
"type": "assert_invalid",
"line": 82,
"module_type": "binary",
"filename": "adapt.2.wasm",
"module_type": "binary",
"text": "canonical encoding option `utf8` conflicts with option `latin1-utf16`"
},
{
"type": "assert_invalid",
"line": 89,
"module_type": "binary",
"filename": "adapt.3.wasm",
"module_type": "binary",
"text": "canonical encoding option `utf16` conflicts with option `latin1-utf16`"
},
{
"type": "assert_invalid",
"line": 96,
"module_type": "binary",
"filename": "adapt.4.wasm",
"module_type": "binary",
"text": "memory index out of bounds"
},
{
"type": "assert_invalid",
"line": 103,
"module_type": "binary",
"filename": "adapt.5.wasm",
"module_type": "binary",
"text": "`memory` is specified more than once"
},
{
"type": "assert_invalid",
"line": 112,
"module_type": "binary",
"filename": "adapt.6.wasm",
"module_type": "binary",
"text": "canonical option `memory` is required"
},
{
"type": "assert_invalid",
"line": 122,
"module_type": "binary",
"filename": "adapt.7.wasm",
"module_type": "binary",
"text": "canonical option `realloc` is required"
},
{
"type": "assert_invalid",
"line": 137,
"module_type": "binary",
"filename": "adapt.8.wasm",
"module_type": "binary",
"text": "canonical option `realloc` is specified more than once"
},
{
"type": "assert_invalid",
"line": 155,
"module_type": "binary",
"filename": "adapt.9.wasm",
"module_type": "binary",
"text": "canonical option `realloc` uses a core function with an incorrect signature"
},
{
"type": "assert_invalid",
"line": 172,
"module_type": "binary",
"filename": "adapt.10.wasm",
"module_type": "binary",
"text": "canonical option `post-return` uses a core function with an incorrect signature"
},
{
"type": "assert_invalid",
"line": 191,
"module_type": "binary",
"filename": "adapt.11.wasm",
"module_type": "binary",
"text": "canonical option `post-return` is specified more than once"
},
{
"type": "assert_invalid",
"line": 211,
"module_type": "binary",
"filename": "adapt.12.wasm",
"module_type": "binary",
"text": "canonical option `post-return` cannot be specified for lowerings"
},
{
"type": "module",
"line": 230,
"module_type": "binary",
"filename": "adapt.13.wasm"
"filename": "adapt.13.wasm",
"module_type": "binary"
},
{
"type": "assert_invalid",
"line": 248,
"module_type": "text",
"filename": "adapt.14.wat",
"module_type": "text",
"text": "unknown instance: failed to find name `$i`"
},
{
"type": "assert_invalid",
"line": 256,
"module_type": "binary",
"filename": "adapt.15.wasm",
"module_type": "binary",
"text": "lowered parameter types `[]` do not match parameter types `[I32]`"
},
{
"type": "assert_invalid",
"line": 264,
"module_type": "binary",
"filename": "adapt.16.wasm",
"module_type": "binary",
"text": "lowered result types `[]` do not match result types `[I32]`"
},
{
"type": "assert_invalid",
"line": 272,
"module_type": "binary",
"filename": "adapt.17.wasm",
"module_type": "binary",
"text": "not a function type"
},
{
"type": "assert_invalid",
"line": 281,
"module_type": "text",
"filename": "adapt.18.wat",
"module_type": "text",
"text": "unknown core func: failed to find name `$f`"
}
]
Expand Down
Loading

0 comments on commit 0996998

Please sign in to comment.