summaryrefslogtreecommitdiff
path: root/test/rexml/test_comment.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-01-11 21:37:00 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2020-01-12 12:28:29 +0900
commitc3ccf23d5807f2ff20127bf5e42df0977bf672fb (patch)
treed3953c32b61645c7af65d30e626af944f143cf58 /test/rexml/test_comment.rb
parent012f297311817ecb19f78c55854b033bb4b0397c (diff)
Make rexml library to the bundle gems
[Feature #16485][ruby-core:96683]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2832
Diffstat (limited to 'test/rexml/test_comment.rb')
-rw-r--r--test/rexml/test_comment.rb26
1 files changed, 0 insertions, 26 deletions
diff --git a/test/rexml/test_comment.rb b/test/rexml/test_comment.rb
deleted file mode 100644
index 0af2f5ca76..0000000000
--- a/test/rexml/test_comment.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-# frozen_string_literal: false
-require "test/unit/testcase"
-
-require 'rexml/document'
-
-module REXMLTests
- class CommentTester < Test::Unit::TestCase
- # Bug #5278
- def test_hyphen_end_line_in_doctype
- xml = <<-XML
-<?xml version="1.0"?>
-<!DOCTYPE root [
-<!-- comment end with hyphen -
- here -->
-]>
-<root/>
- XML
- document = REXML::Document.new(xml)
- comments = document.doctype.children.find_all do |child|
- child.is_a?(REXML::Comment)
- end
- assert_equal([" comment end with hyphen -\n here "],
- comments.collect(&:to_s))
- end
- end
-end