Permalink
Browse files

Fix test in a cross-ruby way

  • Loading branch information...
1 parent 13f339a commit e210ead8de2f0c4e2e355d1f9c89f51b301842c9 @drbrain drbrain committed Feb 25, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/test_rdoc_markup_to_html_snippet.rb
@@ -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

0 comments on commit e210ead

Please sign in to comment.