Open
Description
Running test test-<parameter-option>: CRASHED in 0.000637s and 56KiB
Unexpected token: "="
test-<parameter-option> crashed [Unexpected token: "="]
The assertion that caused that crash has a description, and it should be displayed in the result:
for (argv in list(vector("--airport", "BOS"),
vector("--airport=BOS"),
vector("--airport", "=", "BOS"),
vector("-aBOS"),
vector("-a=BOS"),
vector("-as", "=", "BOS")))
let parser = parse(argv);
assert-equal("BOS", get-option-value(parser, "airport"),
format-to-string("argv = %=", argv));
...