Permalink
Browse files

Logger>unknown? doesn't exist.

[git-p4: depot-paths = "//src/SyslogLogger/dev/": change = 3165]
  • Loading branch information...
1 parent 3d7d496 commit de3852f05e92737b57c4edf95603c4e41b65c8a4 @drbrain drbrain committed May 16, 2007
Showing with 8 additions and 8 deletions.
  1. +8 −8 test/test_syslog_logger.rb
View
@@ -258,14 +258,6 @@ def test_unknown
assert_equal LEVEL_LABEL_MAP[Logger::UNKNOWN], msg.severity
end
- def test_unknown_eh
- @logger.level = Logger::UNKNOWN
- assert_equal true, @logger.unknown?
-
- @logger.level = Logger::UNKNOWN + 1
- assert_equal false, @logger.unknown?
- end
-
def test_fatal
msg = log :fatal, 'fatal level message'
assert_equal LEVEL_LABEL_MAP[Logger::FATAL], msg.severity
@@ -487,5 +479,13 @@ def log_raw(msg_id, *arg, &block)
return msg
end
+ def test_unknown_eh
+ @logger.level = Logger::UNKNOWN
+ assert_equal true, @logger.unknown?
+
+ @logger.level = Logger::UNKNOWN + 1
+ assert_equal false, @logger.unknown?
+ end
+
end

0 comments on commit de3852f

Please sign in to comment.