Skip to content

Commit 7a3417e

Browse files
committed
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.
1 parent 3f2bd42 commit 7a3417e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/rdoc/test_rdoc_top_level.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ def test_hash
157157

158158
def test_http_url
159159
assert_equal 'prefix/path/top_level_rb.html', @top_level.http_url('prefix')
160+
161+
other_level = @store.add_file 'path.other/level.rb'
162+
assert_equal 'prefix/path_other/level_rb.html', other_level.http_url('prefix')
160163
end
161164

162165
def test_last_modified

0 commit comments

Comments
 (0)