summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-11 12:39:11 +0900
committeraycabta <aycabta@gmail.com>2019-08-16 06:07:11 +0900
commite87e10e5e7b7bbb6f4e703981a75b9aaae588816 (patch)
treeef032429e89fb4e48831e581defbdd4ed8498bcb
parent2066dae991d89c481ab92586d1b2e9589211dde6 (diff)
Use test/unit instead of test-unit. Because test-unit is only provided standalone gem.
-rw-r--r--lib/rdoc/markup/formatter_test_case.rb2
-rw-r--r--test/rdoc/helper.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rdoc/markup/formatter_test_case.rb b/lib/rdoc/markup/formatter_test_case.rb
index d1e8923681..9f49dd0897 100644
--- a/lib/rdoc/markup/formatter_test_case.rb
+++ b/lib/rdoc/markup/formatter_test_case.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true
-require 'test-unit'
+require 'test/unit'
##
# Test case for creating new RDoc::Markup formatters. See
diff --git a/test/rdoc/helper.rb b/test/rdoc/helper.rb
index 8a30b2e13a..a596766760 100644
--- a/test/rdoc/helper.rb
+++ b/test/rdoc/helper.rb
@@ -6,7 +6,7 @@ rescue NoMethodError, Gem::LoadError, Bundler::GemfileNotFound
# for ruby tests
end
-require 'test-unit'
+require 'test/unit'
require 'fileutils'
require 'pp'