Results for ysh-tuple.test.sh

statusyshysh-cpp
pass 20
FAIL 13
total33
caseyshysh-cppdescription
0FAIL FAIL tuple literal doesn't conflict with ((
detailsdetails
1pass FAIL Empty tuple
details
2pass FAIL Singleton tuple
details
2 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

ysh0 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-cpp0 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-cpp1 Empty tuple

[ysh-cpp stdout] Expected 'length=0\n', got 'length=\n'

stdout:
length=
stderr:
ysh-cpp2 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