wa-lang.org/wazero@v1.0.2/internal/integration_test/spectest/v2/testdata/fac.json (about) 1 {"source_filename": "./fac.wast", 2 "commands": [ 3 {"type": "module", "line": 1, "filename": "fac.0.wasm"}, 4 {"type": "assert_return", "line": 102, "action": {"type": "invoke", "field": "fac-rec", "args": [{"type": "i64", "value": "25"}]}, "expected": [{"type": "i64", "value": "7034535277573963776"}]}, 5 {"type": "assert_return", "line": 103, "action": {"type": "invoke", "field": "fac-iter", "args": [{"type": "i64", "value": "25"}]}, "expected": [{"type": "i64", "value": "7034535277573963776"}]}, 6 {"type": "assert_return", "line": 104, "action": {"type": "invoke", "field": "fac-rec-named", "args": [{"type": "i64", "value": "25"}]}, "expected": [{"type": "i64", "value": "7034535277573963776"}]}, 7 {"type": "assert_return", "line": 105, "action": {"type": "invoke", "field": "fac-iter-named", "args": [{"type": "i64", "value": "25"}]}, "expected": [{"type": "i64", "value": "7034535277573963776"}]}, 8 {"type": "assert_return", "line": 106, "action": {"type": "invoke", "field": "fac-opt", "args": [{"type": "i64", "value": "25"}]}, "expected": [{"type": "i64", "value": "7034535277573963776"}]}, 9 {"type": "assert_return", "line": 107, "action": {"type": "invoke", "field": "fac-ssa", "args": [{"type": "i64", "value": "25"}]}, "expected": [{"type": "i64", "value": "7034535277573963776"}]}, 10 {"type": "assert_exhaustion", "line": 109, "action": {"type": "invoke", "field": "fac-rec", "args": [{"type": "i64", "value": "1073741824"}]}, "text": "call stack exhausted", "expected": [{"type": "i64"}]}]}