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. https://github.com/ruby/rdoc/commit/7a3417ea4c
This commit is contained in:
parent
61e1cf23ac
commit
a6948329f8
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue