shelly-shell 0.3.1

A Rust based Unix style shell with a typed and structured language syntax.
1
2
3
4
5
6
7
8
9
10
11
12
13
# ARRAY-059: invalid index / echo $a[INDEX] / "0"
check ["id": "ARRAY-059",
    "name": "invalid index / echo \$a[INDEX] / \"0\"",
    "source": "let \$a = [1,2]; echo \$a[\"0\"]; echo \"AFTER_ERROR\"",
    "mode": "code",
    "args": [],
    "stdout": "",
    "status": 1,
    "valid": false,
    "error": "Array error:",
    "stderr_contains": [],
    "stderr_excludes": ["Parser error:"],
    "stdout_excludes": []]