comparison tests/test_transitions.yaml @ 21:94d094a0bdb7

Fix some edge cases, add tests.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 04 Jan 2017 21:07:26 -0800
parents
children
comparison
equal deleted inserted replaced
20:f21776c7fbfc 21:94d094a0bdb7
1 ---
2 in: |
3 CUT TO:
4
5 INT. BEDROOM
6
7 This is the bedroom.
8 out:
9 - ">CUT TO:"
10 - ".INT. BEDROOM"
11 - "!\nThis is the bedroom."
12 ---
13 in: |
14 >fade to black
15
16 EXT. A BLACK HOLE
17
18 This is a black hole.
19 out:
20 - ">fade to black"
21 - ".EXT. A BLACK HOLE"
22 - "!\nThis is a black hole."
23 ---
24 in: |
25 NOT A TRANSITION TO:
26
27 Because it has spaces after the colon.
28 out:
29 - "!NOT A TRANSITION TO: \n\nBecause it has spaces after the colon."