File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -709,7 +709,7 @@ def test_section_contents_unused
709709 @context = RDoc ::Context . new
710710
711711 @context . add_method RDoc ::AnyMethod . new ( nil , 'm' )
712- b = @context . add_section 'B'
712+ @context . add_section 'B'
713713
714714 assert_empty @context . section_contents
715715 end
Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ def test_generate
7272
7373 assert_file 'index.html'
7474 assert_file 'Object.html'
75- assert_file 'file_rb.html'
7675 assert_file 'table_of_contents.html'
7776 assert_file 'js/search_index.js'
7877
@@ -86,8 +85,6 @@ def test_generate
8685 File . read ( 'index.html' ) )
8786 assert_match ( /<meta content="text\/ html; charset=#{ encoding } "/ ,
8887 File . read ( 'Object.html' ) )
89- assert_match ( /<meta content="text\/ html; charset=#{ encoding } "/ ,
90- File . read ( 'file_rb.html' ) )
9188
9289 refute_match ( /Ignored/ , File . read ( 'index.html' ) )
9390 end
@@ -101,7 +98,6 @@ def test_generate_dry_run
10198
10299 refute_file 'index.html'
103100 refute_file 'Object.html'
104- refute_file 'file_rb.html'
105101 end
106102
107103 def test_generate_static
You can’t perform that action at this time.
0 commit comments