[DRE-commits] [ruby-org] 135/303: added a comment to horizontal_rule test
Jérémy Bobbio
lunar at alioth.debian.org
Fri Aug 9 17:33:43 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 fc933703648f00e6ca7b9f0a7e245023b3ef78c1
Author: Neil Smithline <github.com at neilsmithline.com>
Date: Thu Mar 29 15:49:32 2012 -0400
added a comment to horizontal_rule test
---
spec/line_spec.rb | 1 +
1 file changed, 1 insertion(+)
diff --git a/spec/line_spec.rb b/spec/line_spec.rb
index 78d51fd..ce26e26 100644
--- a/spec/line_spec.rb
+++ b/spec/line_spec.rb
@@ -51,6 +51,7 @@ describe Orgmode::Line do
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
--
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