Results for ysh-user-feedback.test.sh

statusyshysh-cpp
pass 92
FAIL 07
total99
caseyshysh-cppdescription
0pass FAIL setvar doesn't work with ref param
details
1pass FAIL !== operator
details
2pass FAIL elif bug
details
3pass pass global vars
4pass FAIL Julia port
details
5pass pass readonly in loop: explains why const doesn't work
6pass FAIL Eggex bug in a loop
details
7pass FAIL Append object onto Array
details
8pass FAIL Invalid op on string
details
11 passed, 0 OK, 0 not implemented, 0 BUG, 7 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

ysh-cpp0 setvar doesn't work with ref param

[ysh-cpp status] Expected 1, got 2

stdout:
stderr: 
  proc get_opt(arg, out Ref) {
                        ^~~
[ stdin ]:1: proc param types should be Ref, Expr, or Block
ysh-cpp1 !== operator

[ysh-cpp stdout] Expected 'not equal\n', got ''

stdout:
stderr: 
ysh-cpp2 elif bug

[ysh-cpp stdout] Expected 'A\n', got 'else\n'

stdout:
else
stderr:
ysh-cpp4 Julia port

[ysh-cpp stdout] Expected 'git\nbranch\n-D\nfoo\nbaz\n___\nfoo\nbaz\n', got ''
[ysh-cpp status] Expected 0, got 134

stdout:
stderr: 
ysh: cpp/core.cc:77: Str* pyos::ReadLine(): Assertion `0' failed.
  git-branch-merged | while read --line {
                      ^~~~~
[ stdin ]:10: errexit PID 26586: command.Pipeline failed with status 134
ysh-cpp6 Eggex bug in a loop

[ysh-cpp stdout] Expected 'yes\nyes\n', got ''
[ysh-cpp status] Expected 0, got 2

stdout:
stderr: 
    var pat = / 'test' word+ /
                       ^~~~
[ stdin ]:2: 'word' isn't a character class
ysh-cpp7 Append object onto Array

[ysh-cpp stdout] Expected '[\n {\n "1": "Test 1"\n },\n {\n "2": "Test 2"\n }\n]\n' Got ''
[ysh-cpp status] Expected 0, got -6

stdout:
stderr: 
terminate called after throwing an instance of 'KeyError*'
timeout: the monitored command dumped core
ysh-cpp8 Invalid op on string

[ysh-cpp stdout] Expected 'email\n', got ''
[ysh-cpp status] Expected 3, got 1

stdout:
stderr: 
  for c in @clients {
           ^~~~~~~~
[ stdin ]:4: fatal: Can't splice 'clients'