summaryrefslogtreecommitdiff
path: root/test/rexml/test_entity.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rexml/test_entity.rb')
-rw-r--r--test/rexml/test_entity.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rexml/test_entity.rb b/test/rexml/test_entity.rb
index 7d16dc83fe..bef1bd6c01 100644
--- a/test/rexml/test_entity.rb
+++ b/test/rexml/test_entity.rb
@@ -118,7 +118,7 @@ module REXMLTests
# above 10k explodes
entities = '&a;' * 3 # 5k entity * 2 = 15k
xmldoc = REXML::Document.new(template.sub(/\$/, entities))
- assert_raises(RuntimeError) do
+ assert_raise(RuntimeError) do
xmldoc.root.text
end
end
@@ -134,7 +134,7 @@ module REXMLTests
# above 10k explodes
entities = '%a;' * 3 # 5k entity * 2 = 15k
- assert_raises(REXML::ParseException) do
+ assert_raise(REXML::ParseException) do
REXML::Document.new(template.sub(/\$/, entities))
end
end