diff options
Diffstat (limited to 'lib/rdoc/test_case.rb')
-rw-r--r-- | lib/rdoc/test_case.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/rdoc/test_case.rb b/lib/rdoc/test_case.rb index 4989516b7a..3b2c181201 100644 --- a/lib/rdoc/test_case.rb +++ b/lib/rdoc/test_case.rb @@ -6,6 +6,11 @@ rescue NoMethodError, Gem::LoadError # for ruby tests end +begin + require 'json' +rescue LoadError +end + require 'minitest/autorun' require 'minitest/benchmark' if ENV['BENCHMARK'] @@ -214,4 +219,3 @@ $LOAD_PATH.each do |load_path| break if load_path[0] == ?/ load_path.replace File.expand_path load_path end if RUBY_VERSION < '1.9' - |