From b77252038f0393ccd73e0c2fcc6fc34a990ff0da Mon Sep 17 00:00:00 2001 From: hkdobrev Date: Mon, 22 Jul 2013 01:11:15 +0300 Subject: [PATCH] added test coverage for horizontal rulers and fixed rulers with underscores --- tests/data/horizontal_rule.html | 28 ++++++++++++++++++++ tests/data/horizontal_rule.md | 47 +++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 tests/data/horizontal_rule.html create mode 100644 tests/data/horizontal_rule.md diff --git a/tests/data/horizontal_rule.html b/tests/data/horizontal_rule.html new file mode 100644 index 0000000..0803abb --- /dev/null +++ b/tests/data/horizontal_rule.html @@ -0,0 +1,28 @@ +

Horizontal line with dashes

+
+

Horizontal line with asterisks

+
+

Horizontal line with underscores

+
+

Horizontal lines with more characters

+
+
+
+

Horizontal lines with spaces

+
+
+
+
+
+
+
+
+
+

Not horizontal lines

+ +

*--

+ \ No newline at end of file diff --git a/tests/data/horizontal_rule.md b/tests/data/horizontal_rule.md new file mode 100644 index 0000000..6b300a4 --- /dev/null +++ b/tests/data/horizontal_rule.md @@ -0,0 +1,47 @@ +Horizontal line with dashes + +--- + +Horizontal line with asterisks + +*** + +Horizontal line with underscores + +___ + +Horizontal lines with more characters + +------------- + +************* + +_____________ + +Horizontal lines with spaces + +- - - + +- - - + +- - - + +-- - + +- - - + +* * * + +* * * + +* ** + +__ __ ___ _ ___ + +Not horizontal lines + +- _ - + +*-- + +- - - _ _ _ \ No newline at end of file