diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-03-21 14:34:46 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2021-04-03 01:22:00 +0900 |
commit | a6948329f8f89fb390215086fe4a888915fd589e (patch) | |
tree | 5c9b4fa7097111950c1452e83e81d52b3a27db0e /test | |
parent | 61e1cf23ac0d122fba3ad4cbaa402c7c94ad54d3 (diff) | |
download | ruby-a6948329f8f89fb390215086fe4a888915fd589e.tar.gz |
[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
Diffstat (limited to 'test')
-rw-r--r-- | test/rdoc/test_rdoc_top_level.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rdoc/test_rdoc_top_level.rb b/test/rdoc/test_rdoc_top_level.rb index e396791ab8..a954fde981 100644 --- a/test/rdoc/test_rdoc_top_level.rb +++ b/test/rdoc/test_rdoc_top_level.rb @@ -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 |