summaryrefslogtreecommitdiff
path: root/test/rexml/test_core.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2021-04-05 11:48:23 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2021-04-05 11:48:23 +0000
commit1b59a4dc76caa061355f4289d2c54d4625671735 (patch)
tree51ccf20baa839ba3c28955a4a81d9efbe4c0e86b /test/rexml/test_core.rb
parent1a38986aedf63f676efded3e834c959059d21760 (diff)
REXML 3.1.9.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml/test_core.rb')
-rw-r--r--test/rexml/test_core.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rexml/test_core.rb b/test/rexml/test_core.rb
index 46036d7f12..ae528d75d3 100644
--- a/test/rexml/test_core.rb
+++ b/test/rexml/test_core.rb
@@ -1,4 +1,4 @@
-# coding: binary
+# coding: utf-8
# frozen_string_literal: false
require_relative "rexml_test_utils"
@@ -995,7 +995,7 @@ EOL
document.write(s)
## XML Doctype
- str = '<!DOCTYPE foo "bar">'
+ str = '<!DOCTYPE foo SYSTEM "bar">'
source = REXML::Source.new(str)
doctype = REXML::DocType.new(source)
document.add(doctype)