mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/rdoc] Relative loading for easier development (https://github.com/ruby/rdoc/pull/821)
This patch makes sure we only load relative code. Hence when coding or
testing rdoc, we'll be sure to always be using the correct code.
Discussion started at https://github.com/ruby/rdoc/pull/817.
Signed-off-by: Ulysse Buonomo <buonomo.ulysse@gmail.com>
aa41bd48eb
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
This commit is contained in:
parent
08137c5dd9
commit
5348a34504
41 changed files with 161 additions and 162 deletions
|
@ -1,5 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
require File.expand_path '../xref_test_case', __FILE__
|
||||
require_relative 'xref_test_case'
|
||||
|
||||
class TestRDocRequire < XrefTestCase
|
||||
|
||||
|
@ -23,4 +23,3 @@ class TestRDocRequire < XrefTestCase
|
|||
end
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue