Tree @fix-single-quote-escaping (Download .tar.gz)
- ..
- cat.py
- crlf.py
- echo.py
- eg.silly-interpreter
- fail.py
- silly-interpreter.py
- test-appliances-a.markdown
- test-appliances-b.markdown
- test-appliances.expected
- test-bad-indentation.expected
- test-bad-indentation.markdown
- test-body-text-input-text.expected
- test-body-text-input-text.markdown
- test-crlf.expected
- test-crlf.markdown
- test-err-no-stderr.expected
- test-err-no-stderr.markdown
- test-freestyle-format.expected
- test-freestyle-format.markdown
- test-ill-formed.expected
- test-ill-formed.markdown
- test-implementations-global-a.markdown
- test-implementations-global-b.markdown
- test-implementations-global.expected
- test-input-sections.expected
- test-input-sections.markdown
- test-no-functionality-leak-a.markdown
- test-no-functionality-leak-b.markdown
- test-no-functionality-leak.expected
- test-no-functionality.expected
- test-no-functionality.markdown
- test-no-test-body.expected
- test-no-test-body.markdown
- test-no-tests.expected
- test-no-tests.markdown
- test-pass-fail.expected
- test-pass-fail.markdown
- test-shared-body.expected
- test-shared-body.markdown
- test-stdout-stderr.expected
- test-stdout-stderr.markdown
- test-substring-error.expected
- test-substring-error.markdown
- test-utf8.expected
- test-utf8.markdown
- test-var-subst-no-eol.expected
- test-var-subst-no-eol.markdown
test-body-text-input-text.markdown @fix-single-quote-escaping — view markup · raw · history · blame
Falderal Test: test-body-text and test-input-text
The test body and the test input can be passed as strings to the shell command.
-> Functionality "Echo Body" is implemented by shell command
-> "python echo.py %(test-body-text)"
-> Tests for functionality "Echo Body"
| foo
+ bar
= foo
Single quotes in the test body text are single escaped.
| don't
+ can't
= don't
-> Functionality "Echo Input" is implemented by shell command
-> "python echo.py %(test-input-text)"
-> Tests for functionality "Echo Input"
| foo
+ bar
= bar
Single quotes in the test input text are single escaped.
| don't
+ can't
= can't