aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/fountain_test.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/fountain_test.py b/tests/fountain_test.py
index 99578cf..11a0939 100644
--- a/tests/fountain_test.py
+++ b/tests/fountain_test.py
@@ -217,6 +217,14 @@ class TransitionTests(unittest2.TestCase):
]))
self.assertEquals([Action, Transition, Slug], [type(p) for p in paras])
+ def test_transition_must_end_with_to(self):
+ paras = list(parse([
+ 'CUT TOO:',
+ '',
+ "EXT. BRICK'S POOL - DAY",
+ ]))
+ self.assertEquals([Action, Slug], [type(p) for p in paras])
+
def test_transition_needs_to_be_upper_case(self):
paras = list(parse([
'Jack begins to argue vociferously in Vietnamese (?)',