test/test_layout.rb in logging-0.5.1 vs test/test_layout.rb in logging-0.5.2

- old
+ new

@@ -1,6 +1,6 @@ -# $Id: test_layout.rb 17 2007-01-20 18:47:43Z tim_pease $ +# $Id: test_layout.rb 53 2007-11-28 00:21:33Z tim_pease $ require 'test/setup.rb' module TestLogging @@ -65,10 +65,10 @@ obj = "<Exception> some exception\n\tthis\n\tis\n\tthe\n\tbacktrace" assert_equal obj, r obj = [1, 2, 3, 4] r = @layout.send :format_obj, obj - assert_equal '<Array> 1234', r + assert_equal "<Array> #{[1,2,3,4]}", r obj = %w( one two three four ) @layout = ::Logging::Layout.new :format_as => :inspect r = @layout.send :format_obj, obj assert_equal '<Array> ["one", "two", "three", "four"]', r