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

Side by Side Diff: lib/src/prism/tests/languages/rest/inline_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 Foo *emphasis*.
2 **Strong** bar.
3 This is `interpreted text`.
4 :role:`interpreted text`
5 `interpreted text`:role:
6 ``inline literals``
7 This is a regexp: ``[+-]?(\d+(\.\d*)?|\.\d+)``
8 Usage of |substitution|.
9
10 ----------------------------------------------------
11
12 [
13 "Foo ",
14 ["inline", [
15 ["punctuation", "*"], ["italic", "emphasis"], ["punctuation", "*"]
16 ]],
17 ".\r\n",
18 ["inline", [
19 ["punctuation", "**"], ["bold", "Strong"], ["punctuation", "**"]
20 ]],
21 " bar.\r\nThis is ",
22 ["inline", [
23 ["punctuation", "`"], ["interpreted-text", "interpreted text"], ["punctu ation", "`"]
24 ]],
25 ".\r\n",
26 ["inline", [
27 ["role", [
28 ["punctuation", ":"], "role", ["punctuation", ":"]
29 ]],
30 ["punctuation", "`"], ["interpreted-text", "interpreted text"], ["punctu ation", "`"]
31 ]],
32 ["inline", [
33 ["punctuation", "`"], ["interpreted-text", "interpreted text"], ["punctu ation", "`"],
34 ["role", [
35 ["punctuation", ":"], "role", ["punctuation", ":"]
36 ]]
37 ]],
38 ["inline", [
39 ["punctuation", "``"], ["inline-literal", "inline literals"], ["punctuat ion", "``"]
40 ]],
41 "\r\nThis is a regexp: ",
42 ["inline", [
43 ["punctuation", "``"], ["inline-literal", "[+-]?(\\d+(\\.\\d*)?|\\.\\d+) "], ["punctuation", "``"]
44 ]],
45 "\r\nUsage of ",
46 ["inline", [
47 ["punctuation", "|"], ["substitution", "substitution"], ["punctuation", "|"]
48 ]],
49 "."
50 ]
51
52 ----------------------------------------------------
53
54 Checks for most inline markup: emphasis, bold, interpreted text,
55 roles, inline literals and substitutions.
OLDNEW
« no previous file with comments | « lib/src/prism/tests/languages/rest/hr_feature.test ('k') | lib/src/prism/tests/languages/rest/link-target_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698