class StdOutErrLoggerTest
def test_logging_with_block
def test_logging_with_block logger = StdOutErrLogger.new logger.info { "Block message" } assert_equal "Block message\n", $stdout.string end
def test_logging_with_block logger = StdOutErrLogger.new logger.info { "Block message" } assert_equal "Block message\n", $stdout.string end