Skip to content

Commit 88db613

Browse files
nobutompng
andauthored
Fix warnings (#1409)
Co-authored-by: tomoya ishida <[email protected]>
1 parent b726485 commit 88db613

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

rdoc.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,5 @@ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentat
6868

6969
s.add_dependency 'psych', '>= 4.0.0'
7070
s.add_dependency 'erb'
71+
s.add_dependency 'tsort'
7172
end

test/rdoc/rdoc_generator_darkfish_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ def test_canonical_url_for_index
542542
def test_canonical_url_for_classes
543543
top_level = @store.add_file("file.rb")
544544
top_level.add_class(@klass.class, @klass.name)
545-
inner = @klass.add_class(RDoc::NormalClass, "Inner")
545+
@klass.add_class(RDoc::NormalClass, "Inner")
546546

547547
@store.options.canonical_root = @options.canonical_root = "https://docs.ruby-lang.org/en/master/"
548548
@g.generate
@@ -553,7 +553,7 @@ def test_canonical_url_for_classes
553553
end
554554

555555
def test_canonical_url_for_rdoc_files
556-
top_level = @store.add_file("CONTRIBUTING.rdoc", parser: RDoc::Parser::Simple)
556+
@store.add_file("CONTRIBUTING.rdoc", parser: RDoc::Parser::Simple)
557557

558558
@store.options.canonical_root = @options.canonical_root = "https://docs.ruby-lang.org/en/master/"
559559
@g.generate

0 commit comments

Comments
 (0)