summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorOlle Lundberg <geek@nerd.sh>2014-08-15 15:41:49 +0200
committerOlle Lundberg <geek@nerd.sh>2014-08-15 15:41:49 +0200
commitd05ef512bab1849e4fecafbc2a0c23465bf6b2c6 (patch)
tree8f3df1b52c1cc4b680a9321b4eedb1083531cd98 /tests
parent991d56bad32c1ea4eda6c86771a4a4b7bef00475 (diff)
Don't end a line with whitespace.
This might be stripped by editors at will, which will make some tests brake.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_util.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/test_util.py b/tests/test_util.py
index 69c75518..28c162e5 100644
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -41,7 +41,12 @@ Host *.example.com
\tUser bjork
Port=3333
Host *
- \t \t Crazy something dumb
+"""
+
+dont_strip_whitespace_please = "\t \t Crazy something dumb "
+
+test_config_file += dont_strip_whitespace_please
+test_config_file += """
Host spoo.example.com
Crazy something else
"""