Mercurial > python-cmd2
diff docs/freefeatures.rst @ 396:e60e2c15f026
ignore whitespace during comparisons
author | Catherine Devlin <catherine.devlin@gmail.com> |
---|---|
date | Thu, 16 Sep 2010 07:38:26 -0400 |
parents | 52ab96d4f179 |
children | bfbe4241bd6b |
line wrap: on
line diff
--- a/docs/freefeatures.rst Tue Sep 07 07:25:49 2010 -0400 +++ b/docs/freefeatures.rst Thu Sep 16 07:38:26 2010 -0400 @@ -181,6 +181,11 @@ python app.py --test transcript.txt -Any deviations between the output prescribed in ``transcript.txt`` and +Any non-whitespace deviations between the output prescribed in ``transcript.txt`` and the actual output from a fresh run of the application will be reported -as a unit test failure. +as a unit test failure. (Whitespace is ignored during the comparison.) + +Regular expressions can be embedded in the transcript inside paired ``/`` +slashes. These regular expressions should not include any whitespace +expressions. +