Tree @rel_0_10 (Download .tar.gz)
- ..
- cat.py
- crlf.py
- echo.py
- eg.silly-interpreter
- fail.py
- silly-interpreter.py
- test-crlf.expected
- test-crlf.markdown
- test-err-no-stderr.expected
- test-err-no-stderr.markdown
- test-no-tests.expected
- test-no-tests.markdown
- test-shared-body.expected
- test-shared-body.markdown
- test-substring-error.expected
- test-substring-error.markdown
- test-utf8.expected
- test-utf8.markdown
- test1.expected
- test1.markdown
- test10.expected
- test10.markdown
- test11.expected
- test11.markdown
- test2.expected
- test2.markdown
- test3.expected
- test3.markdown
- test4.expected
- test4.markdown
- test5.expected
- test5.markdown
- test6.expected
- test6a.markdown
- test6b.markdown
- test7.expected
- test7a.markdown
- test7b.markdown
- test8.expected
- test8a.markdown
- test8b.markdown
- test9.expected
- test9.markdown
test-substring-error.markdown @rel_0_10 — view markup · raw · history · blame
Falderal Test: substring-error
When the -b
option is passed to falderal
, it considers
an error-expecting test successful if the error text which
was produced simply contains (rather than totally equals)
the expected error text.
-> Functionality "Fail" is implemented by shell command
-> "python fail.py foo '%(test-body-text)' 1"
-> Tests for functionality "Fail"
| this is the error message
? this is the error message
| (file tmpgZ5W7e3, line 123): this is the error message
? this is the error message
| (file tmpgZ5W7e3, line 123): an error occurred on this line.
| It is a very pretty error, consisting of several nested
| sub-errors, of which I know very little. (ref #371282)
? an error occurred on this line.
? It is a very pretty error, consisting of several nested
? sub-errors, of which I know very little.