test/test_logger.rb in logging-0.8.0 vs test/test_logger.rb in logging-0.9.0

- old
+ new

@@ -1,6 +1,5 @@ -# $Id$ require File.join(File.dirname(__FILE__), %w[setup]) module TestLogging @@ -10,10 +9,11 @@ def setup super end def test_initialize - assert_raise(ArgumentError) {::Logging::Logger[:test]} + assert_nothing_raised {::Logging::Logger[:test]} + assert_equal ::Logging::Logger[:test], ::Logging::Logger['test'] assert_nothing_raised {::Logging::Logger.new(Object)} end def test_add root = ::Logging::Logger[:root]