58 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
ysh-cpp | 15 io->eval(to_dict=true) with dollar0, pos_args, vars - dict ordering bug [ysh-cpp stdout] Expected '{\n "foo": "global",\n "z": "zero",\n "one": "a",\n "two": "b",\n "three": "+c",\n "x": "X",\n "y": "_Y"\n}\n' Got '{\n "y": "_Y",\n "x": "X",\n "foo": "global",\n "z": "zero",\n "one": "a",\n "two": "b",\n "three": "+c"\n}\n' stdout: { "y": "_Y", "x": "X", "foo": "global", "z": "zero", "one": "a", "two": "b", "three": "+c" }stderr: |
ysh-cpp | 16 io->eval(to_dict=true) with in_captured_frame=true [ysh-cpp stdout] Expected '{\n "var_in_p_frame": "p",\n "foo": "global",\n "z": "zero",\n "one": "a",\n "two": "b",\n "three": "+c",\n "x": "X",\n "y": "_Y"\n}\n' Got '{\n "var_in_p_frame": "p",\n "y": "_Y",\n "x": "X",\n "foo": "global",\n "z": "zero",\n "one": "a",\n "two": "b",\n "three": "+c"\n}\n' stdout: { "var_in_p_frame": "p", "y": "_Y", "x": "X", "foo": "global", "z": "zero", "one": "a", "two": "b", "three": "+c" }stderr: |
ysh | 29 eval should have a sandboxed mode [ysh stdout] Expected 'TODO\n', got '' [ysh status] Expected 1, got 2 stdout: stderr: var d = {} ^ [ stdin ]:12: 'd' was already declared |
ysh-cpp | 29 eval should have a sandboxed mode [ysh-cpp stdout] Expected 'TODO\n', got '' [ysh-cpp status] Expected 1, got 2 stdout: stderr: var d = {} ^ [ stdin ]:12: 'd' was already declared |