Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
David Ricciardi committed Sep 23, 2010
1 parent f8ec6ab commit 6d3e9f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/wiki_cloth_test.rb
Expand Up @@ -10,7 +10,7 @@ class WikiParser < WikiCloth::Parser
when "nowiki" when "nowiki"
"hello world" "hello world"
when "testparams" when "testparams"
"{{{def|hello world}}} {{{1}}} {{{test}}} {{{nested|{{{3}}}}}}" "{{{def|hello world}}} {{{1}}} {{{test}}} {{{nested|{{{2}}}}}}"
end end
end end
external_link do |url,text| external_link do |url,text|
Expand All @@ -34,7 +34,7 @@ class WikiClothTest < ActiveSupport::TestCase
assert data =~ /hello world/ assert data =~ /hello world/
assert data =~ /test/ assert data =~ /test/
assert data =~ /bla/ assert data =~ /bla/
assert data =~ /it worked!/ # nested default param assert data =~ /it worked/ # nested default param
end end


test "horizontal rule" do test "horizontal rule" do
Expand Down

0 comments on commit 6d3e9f2

Please sign in to comment.