summaryrefslogtreecommitdiff
path: root/test/rexml
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-11 07:12:12 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-11 07:12:12 +0000
commit962956e8a128bfcc03e694e41316d67ba98122ef (patch)
tree9347cdbfdcb7667dc52a222a67a83c5c64be2116 /test/rexml
parent80cb3351ddcfabf7ba470a098f692c378456854d (diff)
* test/rexml/test_core.rb
(Tester#test_pretty_format_long_text_finite): remove needless assert_nothing_raised. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml')
-rw-r--r--test/rexml/test_core.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/rexml/test_core.rb b/test/rexml/test_core.rb
index e781fe6..bcc7269 100644
--- a/test/rexml/test_core.rb
+++ b/test/rexml/test_core.rb
@@ -1145,9 +1145,7 @@ EOL
return skip_message
end
output = ""
- assert_nothing_raised do
- formatter.write(document, output)
- end
+ formatter.write(document, output)
assert_equal("<doc>\n" +
((" " + (" aaaa" * 15) + "\n") * (n / 15)) +
" " + ("aaaa " * (n % 15)) + "\n" +