Results for ysh-method-other.test.sh

statusysh
pass 3
FAIL 1
total4
caseyshdescription
0pass Command.sourceCode() on literal block: p { echo hi }
1pass Command.sourceCode() on Expr: ^(echo 1; echo 2)
2pass Command.sourceCode() works with reparsing, e.g. backticks
3FAIL Command.sourceCode() works in nested blocks
details
3 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

ysh3 Command.sourceCode() works in nested blocks

[ysh stdout] Expected '', got '(Str) " \\n echo foo\\n"\nfoo\n(Str) " \\n echo foo\\n p { \\n echo inner\\n }\\n"\nfoo\n(Str) " \\n echo inner\\n "\ninner\n'

stdout:
(Str)   "    \n  echo foo\n"
foo
(Str)   "    \n  echo foo\n  p { \n    echo inner\n  }\n"
foo
(Str)   "      \n    echo inner\n  "
inner
stderr: