Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Side by Side Diff: lib/src/prism/tests/languages/inform7/string_feature.test

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 ""
2 "foo"
3 "foo
4 bar"
5 "[if the player is in Center Ring]A magician's booth stands in the corner, paint ed dark blue with glittering gold stars.[otherwise if the magician's booth is cl osed]A crack of light indicates the way back out to the center ring.[otherwise]T he door stands open to the outside.[end if]"
6
7 ----------------------------------------------------
8
9 [
10 ["string", ["\"\""]],
11 ["string", ["\"foo\""]],
12 ["string", ["\"foo\r\nbar\""]],
13 ["string", [
14 "\"",
15 ["substitution", [
16 ["delimiter", "["],
17 ["keyword", "if"], ["text", "the"],
18 ["type", "player"], ["verb", "is"],
19 ["position", "in"], ["text", "Center Ring"],
20 ["delimiter", "]"]
21 ]],
22 "A magician's booth stands in the corner, painted dark blue with glittering gold stars.",
23 ["substitution", [
24 ["delimiter", "["],
25 ["keyword", "otherwise"], ["keyword", "if"],
26 ["text", "the magician's booth"],
27 ["verb", "is"],
28 ["property", "closed"],
29 ["delimiter", "]"]
30 ]],
31 "A crack of light indicates the way back out to the center ring. ",
32 ["substitution", [
33 ["delimiter", "["],
34 ["keyword", "otherwise"],
35 ["delimiter", "]"]
36 ]],
37 "The door stands open to the outside.",
38 ["substitution", [
39 ["delimiter", "["],
40 ["keyword", "end if"],
41 ["delimiter", "]"]
42 ]],
43 "\""
44 ]]
45 ]
46
47 ----------------------------------------------------
48
49 Checks for strings and text substitution.
OLDNEW
« no previous file with comments | « lib/src/prism/tests/languages/inform7/property_feature.test ('k') | lib/src/prism/tests/languages/inform7/title_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698