summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_require.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2025-01-15 11:52:40 +0900
committerHiroshi SHIBATA <[email protected]>2025-01-15 16:52:56 +0900
commit86d871d29cda15810d9d60dc1b94a07e9530e0cb (patch)
treeae0fd977690197a4c82eed861527c109caade4f1 /test/rdoc/test_rdoc_require.rb
parente0be1b902549f80fcdc95e801d4d533b0fdec43b (diff)
Migrate rdoc as bundled gems
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12577
Diffstat (limited to 'test/rdoc/test_rdoc_require.rb')
-rw-r--r--test/rdoc/test_rdoc_require.rb25
1 files changed, 0 insertions, 25 deletions
diff --git a/test/rdoc/test_rdoc_require.rb b/test/rdoc/test_rdoc_require.rb
deleted file mode 100644
index 4cc53e6c6c..0000000000
--- a/test/rdoc/test_rdoc_require.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# frozen_string_literal: true
-require_relative 'xref_test_case'
-
-class TestRDocRequire < XrefTestCase
-
- def setup
- super
-
- @req = RDoc::Require.new 'foo', 'comment'
- end
-
- def test_initialize
- assert_equal 'foo', @req.name
-
- RDoc::Require.new '"foo"', ''
- assert_equal 'foo', @req.name
-
- RDoc::Require.new '\'foo\'', ''
- assert_equal 'foo', @req.name
-
- RDoc::Require.new '|foo|', ''
- assert_equal 'foo', @req.name, 'for fortran?'
- end
-
-end