spec test index / oilshell.org
status | ysh | ysh-cpp | |
pass | 2 | 0 | |
FAIL | 1 | 3 | |
total | 3 | 3 | |
case | ysh | ysh-cpp | description |
0 | FAIL | FAIL | tuple literal doesn't conflict with (( |
details | details | ||
1 | pass | FAIL | Empty tuple |
details | |||
2 | pass | FAIL | Singleton tuple |
details |
2 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped
ysh | 0 tuple literal doesn't conflict with (( [ysh stdout] Expected 'yes\n', got '' [ysh status] Expected 0, got 2 stdout: stderr: if ((0,0) < (0,1)) { echo yes } ^~ [ stdin ]:1: You may want a space between parens (parse_dparen) |
ysh-cpp | 0 tuple literal doesn't conflict with (( [ysh-cpp stdout] Expected 'yes\n', got '' [ysh-cpp status] Expected 0, got 2 stdout: stderr: if ((0,0) < (0,1)) { echo yes } ^~ [ stdin ]:1: You may want a space between parens (parse_dparen) |
ysh-cpp | 1 Empty tuple [ysh-cpp stdout] Expected 'length=0\n', got 'length=\n' stdout: length=stderr: |
ysh-cpp | 2 Singleton tuple [ysh-cpp stdout] Expected 'length = 1\nt[0] = 42\n', got 'length = \nt[0] = \n' stdout: length = t[0] =stderr: var t2 = (1,) ^ [ stdin ]:5: Write singleton tuples with tup(), not a trailing comma |