summaryrefslogtreecommitdiff
path: root/test/rexml
diff options
context:
space:
mode:
Diffstat (limited to 'test/rexml')
-rw-r--r--test/rexml/test_core.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rexml/test_core.rb b/test/rexml/test_core.rb
index d10c1bc..d6d6271 100644
--- a/test/rexml/test_core.rb
+++ b/test/rexml/test_core.rb
@@ -349,6 +349,9 @@ class Tester < Test::Unit::TestCase
assert_equal(string, text.to_s)
text2 = Text.new(text)
assert_equal(text, text2)
+ string = "Frozen".freeze
+ text3 = Text.new(string)
+ assert_equal(string, text3.to_s)
#testing substitution
string = "0 < ( 1 & 1 )"
correct = "0 &lt; ( 1 &amp; 1 )"