diff --git a/lib/docs/filters/core/normalize_paths.rb b/lib/docs/filters/core/normalize_paths.rb index 8880643d..2b4f614d 100644 --- a/lib/docs/filters/core/normalize_paths.rb +++ b/lib/docs/filters/core/normalize_paths.rb @@ -34,7 +34,6 @@ module Docs def normalize_path(path) path = path.downcase - path.gsub! ':', '-' if path == '.' 'index' diff --git a/test/lib/docs/filters/core/normalize_paths_test.rb b/test/lib/docs/filters/core/normalize_paths_test.rb index c8f480c7..b3fc120d 100644 --- a/test/lib/docs/filters/core/normalize_paths_test.rb +++ b/test/lib/docs/filters/core/normalize_paths_test.rb @@ -55,10 +55,6 @@ class NormalizePathsFilterTest < MiniTest::Spec it "returns 'test' with 'test.html'" do assert_equal 'test', filter.normalize_path('test.html') end - - it "returns 'te-st' with 'te:st'" do - assert_equal 'te-st', filter.normalize_path('te:st') - end end before do