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

Unified Diff: lib/src/prism/tests/languages/rest/list-bullet_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, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: lib/src/prism/tests/languages/rest/list-bullet_feature.test
diff --git a/lib/src/prism/tests/languages/rest/list-bullet_feature.test b/lib/src/prism/tests/languages/rest/list-bullet_feature.test
new file mode 100644
index 0000000000000000000000000000000000000000..668653f3a464673b2178531889a1e8b68c407798
--- /dev/null
+++ b/lib/src/prism/tests/languages/rest/list-bullet_feature.test
@@ -0,0 +1,45 @@
+* foo
++ bar
+- baz
+• foo
+‣ bar
+⁃ baz
+
+(42) foo
+(a) bar
+(xvii) baz
+
+4) foo
+h) bar
+MLCDXVI) 1666
+
+1. foo
+z. bar
+mlcdxvi. baz
+
+----------------------------------------------------
+
+[
+ ["list-bullet", "*"], " foo\r\n",
+ ["list-bullet", "+"], " bar\r\n",
+ ["list-bullet", "-"], " baz\r\n",
+ ["list-bullet", "•"], " foo\r\n",
+ ["list-bullet", "‣"], " bar\r\n",
+ ["list-bullet", "⁃"], " baz\r\n\r\n",
+
+ ["list-bullet", "(42)"], " foo\r\n",
+ ["list-bullet", "(a)"], " bar\r\n",
+ ["list-bullet", "(xvii)"], " baz\r\n\r\n",
+
+ ["list-bullet", "4)"], " foo\r\n",
+ ["list-bullet", "h)"], " bar\r\n",
+ ["list-bullet", "MLCDXVI)"], " 1666\r\n\r\n",
+
+ ["list-bullet", "1."], " foo\r\n",
+ ["list-bullet", "z."], " bar\r\n",
+ ["list-bullet", "mlcdxvi."], " baz"
+]
+
+----------------------------------------------------
+
+Checks for list bullets.
« no previous file with comments | « lib/src/prism/tests/languages/rest/link_feature.test ('k') | lib/src/prism/tests/languages/rest/literal-block_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698