diff tests/test_action.yaml @ 2:59fe8cb6190d

Add lots of tests, fix lots of bugs.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 03 Jan 2017 09:05:28 -0800
parents 243401c49520
children
line wrap: on
line diff
--- a/tests/test_action.yaml	Mon Jan 02 21:54:59 2017 -0800
+++ b/tests/test_action.yaml	Tue Jan 03 09:05:28 2017 -0800
@@ -14,3 +14,44 @@
 in: "!EXT. ACTION. FORCED."
 out: 
     - "!EXT. ACTION. FORCED."
+---
+in: |
+    JOHN
+    This is my dialogue.
+
+    JAKE
+    There were blanks before mine.
+out:
+    - "@JOHN"
+    - "=This is my dialogue."
+    - "@JAKE"
+    - "=There were blanks before mine."
+---
+in: |
+    JOHN
+    This is my dialogue.
+
+
+    JAKE
+    There were blanks before mine.
+out:
+    - "@JOHN"
+    - "=This is my dialogue."
+    - "!"
+    - "@JAKE"
+    - "=There were blanks before mine."
+---
+in: |
+    JOHN
+    This is my dialogue.
+
+
+
+    JAKE
+    There were blanks before mine.
+out:
+    - "@JOHN"
+    - "=This is my dialogue."
+    - "!\n"
+    - "@JAKE"
+    - "=There were blanks before mine."