Results for oil-funcs-builtin.test.sh

statusoil
pass 15
FAIL 3
total18
caseoildescription
0pass Bool()
1pass Int()
2pass Float()
3pass Str()
4FAIL Tuple()
details
5pass Dict()
6pass join()
7pass abs
8pass any() and all()
9pass sum()
10pass sorted()
11pass reversed()
12FAIL enumerate()
details
13FAIL zip()
details
14pass @split(x) respects IFS
15pass @maybe(x)
16pass @maybe on invalid type is fatal error
17pass @glob(x)
15 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped
3 failed under osh

Details on runs that didn't PASS

oil4 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'>
oil12 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'>
oil13 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'>