Browse files

Fix a warning introduced in 5465bf8

  • Loading branch information...
1 parent 8b31bd1 commit 12ca8f402d357cc9ebdc3b0db98acb8854d14079 @jgarber jgarber committed Feb 7, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/parser_spec.rb
View
4 spec/parser_spec.rb
@@ -79,8 +79,8 @@
it "should not add spurious li tags to the end of markup" do
input = "* one\n* two\n* three \n\n"
failing_input = "* one\n* two\n* three \n\n\n"
- RedCloth.new(input).to_html.should_not match /<li>$/
- RedCloth.new(failing_input).to_html.should_not match /<li>$/
+ RedCloth.new(input).to_html.should_not match(/<li>$/)
+ RedCloth.new(failing_input).to_html.should_not match(/<li>$/)
end
if RUBY_VERSION > "1.9.0"

0 comments on commit 12ca8f4

Please sign in to comment.