test/test_logger.rb in logging-0.5.1 vs test/test_logger.rb in logging-0.5.2
- old
+ new
@@ -1,6 +1,6 @@
-# $Id: test_logger.rb 33 2007-02-28 18:29:09Z tim_pease $
+# $Id: test_logger.rb 53 2007-11-28 00:21:33Z tim_pease $
require 'test/setup.rb'
require 'stringio'
module TestLogging
@@ -285,10 +285,10 @@
assert_equal " INFO A Logger : this should be logged\n", a1.readline
assert_nil a1.readline
assert_nil a2.readline
log.warn [1,2,3,4]
- assert_equal " WARN A Logger : <Array> 1234\n", a1.readline
+ assert_equal " WARN A Logger : <Array> #{[1,2,3,4]}\n", a1.readline
assert_nil a1.readline
assert_nil a2.readline
log.add a2
log.error 'an error has occurred'