Skip to content

Commit

Permalink
Fixed tests broken by incompetent cherry-picking
Browse files Browse the repository at this point in the history
Since I didn't run tests during cherry pick I missed some merges.  These
have no been corrected.
  • Loading branch information
drbrain committed Feb 24, 2013
1 parent a5fc3d6 commit 96c3d72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/test_rdoc_markup_to_html.rb
Original file line number Diff line number Diff line change
Expand Up @@ -350,14 +350,14 @@ def test_accept_verbatim_parseable_error
rdoc.options = options
RDoc::RDoc.current = rdoc

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

@to.start_accepting
@to.accept_verbatim verb

expected = <<-EXPECTED
<pre>a %z'foo' # =&gt; blah
<pre>a % 09 # =&gt; blah
</pre>
EXPECTED

Expand Down
4 changes: 1 addition & 3 deletions test/test_rdoc_markup_to_html_snippet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,6 @@ def test_accept_verbatim_ruby_error
@to.start_accepting
@to.accept_verbatim verb

inner = CGI.escapeHTML "a % 09 # => blah"

expected = <<-EXPECTED
<pre>a % 09 # =&gt; blah
Expand Down Expand Up @@ -549,7 +547,7 @@ def test_convert_limit_verbatim_multiline
<p>Look for directives in a normal comment block:
<pre># :stopdoc:
# Don't display comment from this point forward</pre>
# Don&#39;t display comment from this point forward</pre>
EXPECTED

actual = @to.convert rdoc
Expand Down

0 comments on commit 96c3d72

Please sign in to comment.