test/test_logger.rb in logging-0.2.0 vs test/test_logger.rb in logging-0.3.0

- old
+ new

@@ -1,6 +1,6 @@ -# $Id: test_logger.rb 22 2007-01-29 16:20:54Z tim_pease $ +# $Id: test_logger.rb 25 2007-01-30 20:19:12Z tim_pease $ require 'test/setup.rb' require 'stringio' module TestLogging @@ -284,11 +284,10 @@ log.info 'this should be logged' assert_equal " INFO A Logger : this should be logged\n", a1.readline assert_nil a1.readline assert_nil a2.readline - log.warn 'this is a warning', [1,2,3,4] - assert_equal " WARN A Logger : this is a warning\n", a1.readline + log.warn [1,2,3,4] assert_equal " WARN A Logger : <Array> 1234\n", a1.readline assert_nil a1.readline assert_nil a2.readline log.add a2