Skip to content

Commit

Permalink
Fix test in a cross-ruby way
Browse files Browse the repository at this point in the history
  • Loading branch information
drbrain committed Feb 25, 2013
1 parent 13f339a commit e210ead
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_rdoc_markup_to_html_snippet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -543,11 +543,12 @@ def test_convert_limit_verbatim_multiline
This routine modifies its +comment+ parameter.
RDOC

inner = CGI.escapeHTML "# Don't display comment from this point forward"
expected = <<-EXPECTED
<p>Look for directives in a normal comment block:
<pre># :stopdoc:
# Don&#39;t display comment from this point forward</pre>
#{inner}</pre>
EXPECTED

actual = @to.convert rdoc
Expand Down

0 comments on commit e210ead

Please sign in to comment.