Permalink
Browse files

More than five dashes create an horizontal rule in html output (fixes #…

  • Loading branch information...
1 parent fc93370 commit 74c2b27c2015e8838fc380c95775f198c6c193d1 Waldemar Quevedo committed Mar 31, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −4 spec/line_spec.rb
View
@@ -51,13 +51,9 @@
end
it "should recognize horizontal rules" do
- # 5 hypens should match.
Orgmode::Line.new("-----").horizontal_rule?.should be_true
- # More than 5 hyphens are allowed.
Orgmode::Line.new("----------").horizontal_rule?.should be_true
- # Whitespace before and after is also allowed.
Orgmode::Line.new(" \t ----- \t\t\t").horizontal_rule?.should be_true
- # But only four hyphens should not match.
Orgmode::Line.new("----").horizontal_rule?.should_not be_true
end

0 comments on commit 74c2b27

Please sign in to comment.