1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/syslog/test_syslog_logger.rb: skip unless Syslog module is

available.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2012-08-06 02:09:33 +00:00
parent 13527efd59
commit 404bb0efce
2 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Mon Aug 6 11:08:48 2012 NAKAMURA Usaku <usa@ruby-lang.org>
* test/syslog/test_syslog_logger.rb: skip unless Syslog module is
available.
Mon Aug 6 00:40:54 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/bigdecimal/bigdecimal.c (BigMath_s_log): fix format specifier.

View file

@ -1,6 +1,10 @@
require 'test/unit'
require 'tempfile'
require 'syslog/logger'
begin
require 'syslog/logger'
rescue LoadError
# skip. see the bottom of this file.
end
# These tests ensure Syslog::Logger works like Logger
@ -504,4 +508,4 @@ class TestSyslogLogger < TestSyslogRootLogger
assert_equal false, @logger.unknown?
end
end
end if defined?(Syslog)