aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2014-03-03 15:17:45 +0100
committerMartin Vilcans <martin@librador.com>2014-03-03 15:17:45 +0100
commit8b0e94fb16b45632dc1f57ffdf9e76768a8aa656 (patch)
tree9555ccf36955db8e7edc9f0a2a3273bdceb60c31 /tests/files
parentb0dac73a8899d6ad5db3564202f566ddb963b446 (diff)
downloadscreenplain-8b0e94fb16b45632dc1f57ffdf9e76768a8aa656.tar.gz
Tests that would have caught the p a r e n t h e t i c a l bug
Bug was caused by a regression in d0c5183b4773e9dfac7113b24b492e0826c36bac See fix in b0dac73a8899d6ad5db3564202f566ddb963b446
Diffstat (limited to 'tests/files')
-rw-r--r--tests/files/parenthetical.fountain3
-rw-r--r--tests/files/parenthetical.fountain.fdx14
-rw-r--r--tests/files/parenthetical.fountain.html1
3 files changed, 18 insertions, 0 deletions
diff --git a/tests/files/parenthetical.fountain b/tests/files/parenthetical.fountain
new file mode 100644
index 0000000..9072cf8
--- /dev/null
+++ b/tests/files/parenthetical.fountain
@@ -0,0 +1,3 @@
+JOHN DOE
+(screaming)
+Hello!!! \ No newline at end of file
diff --git a/tests/files/parenthetical.fountain.fdx b/tests/files/parenthetical.fountain.fdx
new file mode 100644
index 0000000..b9eaad0
--- /dev/null
+++ b/tests/files/parenthetical.fountain.fdx
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<FinalDraft DocumentType="Script" Template="No" Version="1">
+<Content>
+<Paragraph Type="Character">
+<Text>JOHN DOE</Text>
+</Paragraph>
+<Paragraph Type="Parenthetical">
+<Text>(screaming)</Text>
+</Paragraph>
+<Paragraph Type="Dialogue">
+<Text>Hello!!!</Text>
+</Paragraph>
+</Content>
+</FinalDraft>
diff --git a/tests/files/parenthetical.fountain.html b/tests/files/parenthetical.fountain.html
new file mode 100644
index 0000000..d233d53
--- /dev/null
+++ b/tests/files/parenthetical.fountain.html
@@ -0,0 +1 @@
+<div class="dialog"><p class="character">JOHN DOE</p><p class="parenthetical">(screaming)</p><p>Hello!!!</p></div>