summaryrefslogtreecommitdiff
path: root/test/rexml/test_changing_encoding.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rexml/test_changing_encoding.rb')
-rw-r--r--test/rexml/test_changing_encoding.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rexml/test_changing_encoding.rb b/test/rexml/test_changing_encoding.rb
index 5a085e2..9471ad1 100644
--- a/test/rexml/test_changing_encoding.rb
+++ b/test/rexml/test_changing_encoding.rb
@@ -21,7 +21,7 @@ module REXMLTests
@f.encoding = 'EUC-JP'
assert_equal( @u, @f.decode(@e) )
# This doesn't happen anymore, for some reason
- #assert_raises( Iconv::IllegalSequence, "Decoding unicode should fail" ) {
+ #assert_raise( Iconv::IllegalSequence, "Decoding unicode should fail" ) {
# @f.decode(@u) == @u
#}
end
@@ -36,7 +36,7 @@ module REXMLTests
@f.encoding = 'EUC-JP'
assert_equal( @u, @f.decode(@e) )
# This doesn't happen anymore, for some reason
- #assert_raises( Iconv::IllegalSequence, "Decoding unicode should fail" ) {
+ #assert_raise( Iconv::IllegalSequence, "Decoding unicode should fail" ) {
# @f.decode(@u) == @u
#}
end