@@ -34,7 +34,7 @@ def test_italic
3434= Heading containing <em>italic phrase</em>.
3535
3636MARKUP
37- Helper . run_rdoc ( __method__ , markup ) do |html_lines |
37+ Helper . run_rdoc ( markup , __method__ ) do |html_lines |
3838 italic_word_lines = Helper . select_lines ( html_lines , '<em>italic_word</em>' )
3939 # Check count of italic words.
4040 # (Five, not four, b/c the heading generates two.)
@@ -68,7 +68,7 @@ def test_bold
6868= Heading containing <b>bold phrase</b>.
6969
7070MARKUP
71- Helper . run_rdoc ( __method__ , markup ) do |html_lines |
71+ Helper . run_rdoc ( markup , __method__ ) do |html_lines |
7272 # Check count of bold words.
7373 bold_word_lines = Helper . select_lines ( html_lines , '<strong>bold_word</strong>' )
7474 # (Five, not four, b/c the heading generates two.)
@@ -111,7 +111,7 @@ def test_monofont
111111= Heading containing <code>monofont phrase</code>.
112112
113113MARKUP
114- Helper . run_rdoc ( __method__ , markup ) do |html_lines |
114+ Helper . run_rdoc ( markup , __method__ ) do |html_lines |
115115 monofont_word_lines = Helper . select_lines ( html_lines , '<code>monofont_word</code>' )
116116 # Check count of monofont words.
117117 # (Five, not four, b/c the heading generates two.)
@@ -138,7 +138,7 @@ def test_character_conversions
138138= Heading containing #{ convertible_characters } .
139139
140140MARKUP
141- Helper . run_rdoc ( __method__ , markup ) do |html_lines |
141+ Helper . run_rdoc ( markup , __method__ ) do |html_lines |
142142 converted_character_lines = Helper . select_lines ( html_lines , '© ® … – — ‘foo’ “bar”' )
143143 # Check count of converted character lines.
144144 # (The generated heading line contains escapes, and so does not match.)
0 commit comments