diff --git a/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml b/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
index 941ff9d630..09b5379fc0 100644
--- a/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
+++ b/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml
@@ -36,7 +36,7 @@
unless table.empty? then %>
<%- end -%>
diff --git a/test/rdoc/test_rdoc_generator_darkfish.rb b/test/rdoc/test_rdoc_generator_darkfish.rb
index bb6be28201..96319bb4f7 100644
--- a/test/rdoc/test_rdoc_generator_darkfish.rb
+++ b/test/rdoc/test_rdoc_generator_darkfish.rb
@@ -113,7 +113,9 @@ class TestRDocGeneratorDarkfish < RDoc::TestCase
refute_match(/Ignored/, File.binread('index.html'))
summary = File.binread('index.html')[%r[.*]m]
assert_match(%r[Klass/Inner\.html".*>Inner<], summary)
- klassnav = File.binread('Klass.html')[%r[