spec test index / oilshell.org
40 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 1 failed under osh
ysh | 18 assert on expressions [ysh stdout] Expected 'passed\ncode 0\n\ncode 3\n\ncode 3\n\ncode 3\n\npassed\ncode 0\n\n' Got 'passed\ncode 0\n\ncode 3\n\ncode 3\n\n\nExpected: (Bool) true\nGot: (Bool) false\ncode 3\n\npassed\ncode 0\n\n' stdout: passed code 0 code 3 code 3 Expected: (Bool) true Got: (Bool) false code 3 passed code 0stderr: assert [f()] ^ [ -c flag ]:4: fatal: Expression isn't true: false assert [null] ^ [ -c flag ]:2: fatal: Expression isn't true: null assert [true === f()] ^~~ [ -c flag ]:4: fatal: Not equal |
ysh_ALT | 18 assert on expressions [ysh_ALT stdout] Expected 'passed\ncode 0\n\ncode 3\n\ncode 3\n\ncode 3\n\npassed\ncode 0\n\n' Got 'passed\ncode 0\n\ncode 3\n\ncode 3\n\n\nExpected: (Bool) true\nGot: (Bool) false\ncode 3\n\npassed\ncode 0\n\n' stdout: passed code 0 code 3 code 3 Expected: (Bool) true Got: (Bool) false code 3 passed code 0stderr: assert [f()] ^ [ -c flag ]:4: fatal: Expression isn't true: false assert [null] ^ [ -c flag ]:2: fatal: Expression isn't true: null assert [true === f()] ^~~ [ -c flag ]:4: fatal: Not equal |