1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
kou 2011-06-11 07:12:12 +00:00
parent 80cb3351dd
commit 962956e8a1
2 changed files with 8 additions and 4 deletions

View file

@ -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" +