test/glue/tc_logger.rb in glue-0.30.0 vs test/glue/tc_logger.rb in glue-0.31.0
- old
+ new
@@ -12,11 +12,10 @@
@io = StringIO.new('')
Logger.set(Logger.new(@io))
end
def test_logger
-=begin
Logger.info 'hello'
assert_equal(" INFO: hello\n", @io.string)
# bug: Binding.of_caller thinks Logger is the caller.
a = 14
@@ -37,9 +36,8 @@
Logger.error 'Have forgotten that :)'
#
Logger.set('hello.log')
assert_instance_of(Logger, Logger.get)
-=end
end
end