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

Side by Side Diff: lib/src/prism/tests/languages/swift/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 "fo\"o"
3 "foo\
4 bar"
5 "foo \(42)"
6 "foo \(f("bar"))"
7
8 ----------------------------------------------------
9
10 [
11 ["string", ["\"\""]],
12 ["string", ["\"fo\\\"o\""]],
13 ["string", ["\"foo\\\r\nbar\""]],
14 ["string", [
15 "\"foo ",
16 ["interpolation", [
17 ["delimiter", "\\("],
18 ["number", "42"],
19 ["delimiter", ")"]
20 ]],
21 "\""
22 ]],
23 ["string", [
24 "\"foo ",
25 ["interpolation", [
26 ["delimiter", "\\("],
27 ["function", "f"],
28 ["punctuation", "("],
29 ["string", ["\"bar\""]],
30 ["punctuation", ")"],
31 ["delimiter", ")"]
32 ]],
33 "\""
34 ]]
35 ]
36
37 ----------------------------------------------------
38
39 Checks for strings and string interpolation.
OLDNEW
« no previous file with comments | « lib/src/prism/tests/languages/swift/number_feature.test ('k') | lib/src/prism/tests/languages/tcl/builtin_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698