1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/rdoc] Clarify that dots in URL are replaced

The dots in all path components from the document root are
replaced with underscores, not only in the basename.

7a3417ea4c
This commit is contained in:
Nobuyoshi Nakada 2021-03-21 14:34:46 +09:00 committed by aycabta
parent 61e1cf23ac
commit a6948329f8

View file

@ -157,6 +157,9 @@ class TestRDocTopLevel < XrefTestCase
def test_http_url
assert_equal 'prefix/path/top_level_rb.html', @top_level.http_url('prefix')
other_level = @store.add_file 'path.other/level.rb'
assert_equal 'prefix/path_other/level_rb.html', other_level.http_url('prefix')
end
def test_last_modified