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

Unified Diff: lib/src/prism/tests/languages/textile/list_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/textile/list_feature.test
diff --git a/lib/src/prism/tests/languages/textile/list_feature.test b/lib/src/prism/tests/languages/textile/list_feature.test
new file mode 100644
index 0000000000000000000000000000000000000000..1cf0c192d1dca9f061784eb3b6ff5b1b73cc94f0
--- /dev/null
+++ b/lib/src/prism/tests/languages/textile/list_feature.test
@@ -0,0 +1,36 @@
+# foo
+# bar
+## baz
+#[fr](#foo){background:pink} Foobar
+
+* foo
+** bar
+*** baz
+
+----------------------------------------------------
+
+[
+ ["phrase", [
+ ["list", [["punctuation", "#"], " foo"]],
+ ["list", [["punctuation", "#"], " bar"]],
+ ["list", [["punctuation", "##"], " baz"]],
+ ["list", [
+ ["punctuation", "#"],
+ ["modifier", [
+ ["punctuation", "["], ["lang", "fr"], ["punctuation", "]"],
+ ["punctuation", "("], ["class-id", "#foo"], ["punctuation", ")"],
+ ["css", ["{background:pink}"]]
+ ]],
+ " Foobar"
+ ]]
+ ]],
+ ["phrase", [
+ ["list", [["punctuation", "*"], " foo"]],
+ ["list", [["punctuation", "**"], " bar"]],
+ ["list", [["punctuation", "***"], " baz"]]
+ ]]
+]
+
+----------------------------------------------------
+
+Checks for list items.
« no previous file with comments | « lib/src/prism/tests/languages/textile/link_feature.test ('k') | lib/src/prism/tests/languages/textile/mark_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698