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

Side by Side Diff: lib/src/prism/tests/languages/powershell/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 "a simple string"
2 "has $interpolated variables"
3 "has $($nesting -and 'interpolation')"
4 "string `"with`" escaping"
5 'non-interpolated $string'
6 'also ''with'' escaping'
7 '''twas also escaped'
8 an empty '' string
9 'can''t'
10
11 ----------------------------------------------------
12
13 [
14 ["string", ["\"a simple string\""]],
15 ["string", [
16 "\"has ",["variable", "$interpolated"]," variables\""]
17 ],
18 ["string", [
19 "\"has",
20 [
21 "function",
22 [
23 " $",
24 ["punctuation", "("],
25 ["variable", "$nesting"],
26 ["operator", "-and"],
27 ["string", "'interpolation'"],
28 ["punctuation", ")"]
29 ]
30 ],
31 "\""]
32 ],
33 ["string", ["\"string `\"with`\" escaping\""]],
34 ["string", "'non-interpolated $string'"],
35 ["string", "'also ''with'' escaping'"],
36 ["string", "'''twas also escaped'"],
37 "\r\nan empty ",["string", "''"], " string\r\n",
38 ["string", "'can''t'"]
39 ]
40
41 ----------------------------------------------------
42
43 Testing strings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698