summaryrefslogtreecommitdiff
path: root/tests/test_formatting.py
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2014-05-07 00:02:44 +0200
committerArmin Ronacher <armin.ronacher@active-4.com>2014-05-07 00:02:44 +0200
commit4e2a3291613f6903afa179396676d4aebb340eb1 (patch)
tree81824dae35ffd3d7ce92b089d9bbc54ee2c98292 /tests/test_formatting.py
parentca1dff925e3a3d3aac0b5725ee5e8b5b022d70ff (diff)
downloadclick-4e2a3291613f6903afa179396676d4aebb340eb1.tar.gz
Fixed a bug with whitespace preservation.
Diffstat (limited to 'tests/test_formatting.py')
-rw-r--r--tests/test_formatting.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test_formatting.py b/tests/test_formatting.py
index 9492b3a..30059aa 100644
--- a/tests/test_formatting.py
+++ b/tests/test_formatting.py
@@ -16,6 +16,11 @@ def test_basic_functionality(runner):
a paragraph
without rewrapping.
+ \b
+ 1
+ 2
+ 3
+
And this is a paragraph
that will be rewrapped again.
"""
@@ -34,6 +39,10 @@ def test_basic_functionality(runner):
' a paragraph',
' without rewrapping.',
'',
+ ' 1',
+ ' 2',
+ ' 3',
+ '',
' And this is a paragraph that will be rewrapped again.',
'',
'Options:',