1
0
Fork 0
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:
Ulysse Buonomo 2022-02-10 03:31:06 +01:00 committed by Nobuyoshi Nakada
parent 08137c5dd9
commit 5348a34504
41 changed files with 161 additions and 162 deletions

View file

@ -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