aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/spmd_test.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/spmd_test.py b/tests/spmd_test.py
index f1c62bf..d5a4615 100644
--- a/tests/spmd_test.py
+++ b/tests/spmd_test.py
@@ -222,6 +222,15 @@ class ParseTests(unittest2.TestCase):
self.assertEquals([Action], [type(p) for p in paras])
self.assertTrue(paras[0].centered)
+ def test_upper_case_centered_not_parsed_as_dialog(self):
+ paras = list(parse([
+ '> FIRST! <',
+ ' > SECOND! <',
+ '> THIRD! <',
+ ]))
+ self.assertEquals([Action], [type(p) for p in paras])
+ self.assertTrue(paras[0].centered)
+
def test_centering_marks_in_middle_of_paragraphs_are_verbatim(self):
paras = list(parse([
'first!',