aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_util.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_util.py')
-rw-r--r--test/test_util.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_util.py b/test/test_util.py
index 1515814..08ecd64 100644
--- a/test/test_util.py
+++ b/test/test_util.py
@@ -265,6 +265,7 @@ class TestFormatter(unittest.TestCase):
"d": {"a": "foo", "b": 0, "c": None},
"l": ["a", "b", "c"],
"n": None,
+ "s": " \n\r\tSPACE ",
"u": "%27%3C%20/%20%3E%27",
"name": "Name",
"title1": "Title",
@@ -278,6 +279,7 @@ class TestFormatter(unittest.TestCase):
self._run_test("{a!u}", "HELLO WORLD")
self._run_test("{a!c}", "Hello world")
self._run_test("{a!C}", "Hello World")
+ self._run_test("{s!t}", "SPACE")
self._run_test("{a!U}", self.kwdict["a"])
self._run_test("{u!U}", "'< / >'")
self._run_test("{a!s}", self.kwdict["a"])