From 6d1266a879a94a6f76106e1bbdfa3576b6612a69 Mon Sep 17 00:00:00 2001 From: drbrain Date: Tue, 27 Nov 2012 08:54:03 +0000 Subject: * lib/rdoc/*: Added --root option for building documentation outside the source directory. * test/rdoc/*: ditto * common.mk (rdoc): Added --root to rdoc rule git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rdoc/test_rdoc_parser_ruby.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/rdoc/test_rdoc_parser_ruby.rb') diff --git a/test/rdoc/test_rdoc_parser_ruby.rb b/test/rdoc/test_rdoc_parser_ruby.rb index b25a36301e..8168cd3f45 100644 --- a/test/rdoc/test_rdoc_parser_ruby.rb +++ b/test/rdoc/test_rdoc_parser_ruby.rb @@ -1026,7 +1026,7 @@ EOF stream = [ tk(:COMMENT, 0, 1, 1, nil, - "# File #{@top_level.absolute_name}, line 1"), + "# File #{@top_level.relative_name}, line 1"), RDoc::Parser::Ruby::NEWLINE_TOKEN, tk(:SPACE, 0, 1, 1, nil, ''), ] @@ -1199,7 +1199,7 @@ EOF stream = [ tk(:COMMENT, 0, 1, 1, nil, - "# File #{@top_level.absolute_name}, line 1"), + "# File #{@top_level.relative_name}, line 1"), RDoc::Parser::Ruby::NEWLINE_TOKEN, tk(:SPACE, 0, 1, 1, nil, ''), tk(:IDENTIFIER, 0, 1, 0, 'add_my_method', 'add_my_method'), @@ -1397,7 +1397,7 @@ end stream = [ tk(:COMMENT, 0, 1, 1, nil, - "# File #{@top_level.absolute_name}, line 1"), + "# File #{@top_level.relative_name}, line 1"), RDoc::Parser::Ruby::NEWLINE_TOKEN, tk(:SPACE, 0, 1, 1, nil, ''), tk(:DEF, 0, 1, 0, 'def', 'def'), -- cgit v1.2.3