[DRE-commits] [ruby-org] 104/303: Checking in current test cases for invalid list recognizer.
Jérémy Bobbio
lunar at alioth.debian.org
Fri Aug 9 17:33:37 UTC 2013
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository ruby-org.
commit a7ac31750516172638fc64253a8872e7a4fc40e9
Author: Brian Dewey <bdewey at gmail.com>
Date: Sat Sep 3 08:00:57 2011 -0700
Checking in current test cases for invalid list recognizer.
---
spec/html_examples/lists.html | 8 ++++++++
spec/html_examples/lists.org | 11 +++++++++++
2 files changed, 19 insertions(+)
diff --git a/spec/html_examples/lists.html b/spec/html_examples/lists.html
index 0410a7c..f0cbb30 100644
--- a/spec/html_examples/lists.html
+++ b/spec/html_examples/lists.html
@@ -17,3 +17,11 @@
<li>This is a single-line list.</li>
</ul>
<p>And this is a <b>separate paragraph.</b> Note the indentation in the org file.</p>
+<h2>Invalid lists</h2>
+<p>Note that spaces are required to denote lists. Thus, none of the following should get recognized as lists.</p>
+<ul>
+ <li>This isn’t a list.</li>
+ <li>And this isn’t a list.</li>
+ <li>And this isn’t a list.</li>
+ <li>And this isn’t a list.</li>
+</ul>
diff --git a/spec/html_examples/lists.org b/spec/html_examples/lists.org
index fbe0843..58bc103 100644
--- a/spec/html_examples/lists.org
+++ b/spec/html_examples/lists.org
@@ -34,3 +34,14 @@ And this is a paragraph *after* the list.
- This is a single-line list.
And this is a *separate paragraph.* Note the indentation in the org
file.
+
+** Invalid lists
+
+ Note that spaces are required to denote lists. Thus, none of the following
+ should get recognized as lists.
+
+ -This isn't a list.
+ -And this isn't a list.
+
+ 1.And this isn't a list.
+ 2.And this isn't a list.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-org.git
More information about the Pkg-ruby-extras-commits
mailing list