From 5348a34504a67597e3a3ed98a3020dfd762241ad Mon Sep 17 00:00:00 2001 From: Ulysse Buonomo Date: Thu, 10 Feb 2022 03:31:06 +0100 Subject: [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 https://github.com/ruby/rdoc/commit/aa41bd48eb Co-authored-by: Nobuyoshi Nakada --- test/rdoc/test_rdoc_method_attr.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/rdoc/test_rdoc_method_attr.rb') diff --git a/test/rdoc/test_rdoc_method_attr.rb b/test/rdoc/test_rdoc_method_attr.rb index 68a9d6cc21..d607619a60 100644 --- a/test/rdoc/test_rdoc_method_attr.rb +++ b/test/rdoc/test_rdoc_method_attr.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true -require File.expand_path '../xref_test_case', __FILE__ +require_relative 'xref_test_case' class TestRDocMethodAttr < XrefTestCase @@ -191,4 +191,3 @@ class TestRDocMethodAttr < XrefTestCase end end - -- cgit v1.2.3