spec test index / oilshell.org
| status | oil | |
| pass | 16 | |
| FAIL | 3 | |
| total | 19 | |
| case | oil | description |
| 0 | pass | Bool() |
| 1 | pass | Int() |
| 2 | pass | Float() |
| 3 | pass | Str() |
| 4 | FAIL | Tuple() |
| details | ||
| 5 | pass | Dict() |
| 6 | pass | join() |
| 7 | pass | abs |
| 8 | pass | any() and all() |
| 9 | pass | sum() |
| 10 | pass | sorted() |
| 11 | pass | reversed() |
| 12 | FAIL | enumerate() |
| details | ||
| 13 | FAIL | zip() |
| details | ||
| 14 | pass | @split(x) respects IFS |
| 15 | pass | @maybe(x) |
| 16 | pass | maybe() on invalid type is fatal error |
| 17 | pass | split() on invalid type is fatal error |
| 18 | pass | @glob(x) |
16 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
| oil | 4 Tuple() [oil stdout] Expected '()\n', got '' [oil status] Expected 0, got 1 stdout: stderr: write $a ^~~~~ [ stdin ]:2: fatal: Expected function to return a bool, int, float, or string. Got <type 'tuple'> |
| oil | 12 enumerate() [oil stdout] Expected '0 a\n1 b\n2 c\n', got '' [oil status] Expected 0, got 1 stdout: stderr: write $i $a
^~~~~
[ stdin ]:2: fatal: Expected function to return a bool, int, float, or string. Got <type 'tuple'>
|
| oil | 13 zip() [oil stdout] Expected '1 a\n2 b\n3 c\n', got '' [oil status] Expected 0, got 1 stdout: stderr: write $zip ^~~~~ [ stdin ]:1: fatal: Expected function to return a bool, int, float, or string. Got <type 'builtin_function_or_method'> |