Skip to content

Commit 96c3d72

Browse files
committed
Fixed tests broken by incompetent cherry-picking
Since I didn't run tests during cherry pick I missed some merges. These have no been corrected.
1 parent a5fc3d6 commit 96c3d72

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

test/test_rdoc_markup_to_html.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -350,14 +350,14 @@ def test_accept_verbatim_parseable_error
350350
rdoc.options = options
351351
RDoc::RDoc.current = rdoc
352352

353-
verb = @RM::Verbatim.new("a %z'foo' # => blah\n")
353+
verb = @RM::Verbatim.new("a % 09 # => blah\n")
354354

355355
@to.start_accepting
356356
@to.accept_verbatim verb
357357

358358
expected = <<-EXPECTED
359359
360-
<pre>a %z'foo' # =&gt; blah
360+
<pre>a % 09 # =&gt; blah
361361
</pre>
362362
EXPECTED
363363

test/test_rdoc_markup_to_html_snippet.rb

+1-3
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,6 @@ def test_accept_verbatim_ruby_error
384384
@to.start_accepting
385385
@to.accept_verbatim verb
386386

387-
inner = CGI.escapeHTML "a % 09 # => blah"
388-
389387
expected = <<-EXPECTED
390388
391389
<pre>a % 09 # =&gt; blah
@@ -549,7 +547,7 @@ def test_convert_limit_verbatim_multiline
549547
<p>Look for directives in a normal comment block:
550548
551549
<pre># :stopdoc:
552-
# Don't display comment from this point forward</pre>
550+
# Don&#39;t display comment from this point forward</pre>
553551
EXPECTED
554552

555553
actual = @to.convert rdoc

0 commit comments

Comments
 (0)