Skip to content

Commit cbce629

Browse files
committed
Fixed load target with installed rdoc. I enforce to use minitest_helper on repository.
1 parent 8617f23 commit cbce629

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/rdoc.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ def self.load_yaml
125125

126126
autoload :RDoc, 'rdoc/rdoc'
127127

128-
autoload :TestCase, 'rdoc/test_case'
129-
130128
autoload :CrossReference, 'rdoc/cross_reference'
131129
autoload :ERBIO, 'rdoc/erbio'
132130
autoload :ERBPartial, 'rdoc/erb_partial'

test/xref_test_case.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22
ENV['RDOC_TEST'] = 'yes'
33

4-
require 'rdoc'
4+
require 'minitest_helper'
55
require File.expand_path '../xref_data', __FILE__
66

77
class XrefTestCase < RDoc::TestCase

0 commit comments

Comments
 (0)