diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | test/rexml/test_core.rb | 4 |
2 files changed, 8 insertions, 4 deletions
@@ -1,9 +1,15 @@ +Sat Jun 11 16:11:36 2011 Kouhei Sutou <kou@cozmixng.org> + + * test/rexml/test_core.rb + (Tester#test_pretty_format_long_text_finite): remove needless + assert_nothing_raised. + Sat Jun 11 16:04:03 2011 Kouhei Sutou <kou@cozmixng.org> * lib/rexml/parsers/xpathparser.rb (REXML::Parsers::XPathParser#parse), test/rexml/test_elements.rb - (ElementsTester::test_each_with_frozen_condition): + (ElementsTester#test_each_with_frozen_condition): don't modify original XPath. fixes #4164 Reported by Pavel Shved. Thanks!!! diff --git a/test/rexml/test_core.rb b/test/rexml/test_core.rb index e781fe6e25..bcc72695e4 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" + |