# File test/test_logger.rb, line 675 def test_AccessLog_format_input_header @header_value = 'Test/0.0.0' assert_equal('Test/0.0.0', Rucy::AccessLog.format('%{Server}o', @request, @response, @curr_time)) assert_equal(1, @header_call) assert_equal('Server', @header_name) @header_value = nil assert_equal('-', Rucy::AccessLog.format('%{Server2}o', @request, @response, @curr_time)) assert_equal(2, @header_call) assert_equal('Server2', @header_name) end