test/logger_test.rb in semantic_logger-0.4.1 vs test/logger_test.rb in semantic_logger-0.4.2

- old
+ new

@@ -60,10 +60,10 @@ should "add payload to log entries" do @logger.with_payload(:tracking_number => '123456') do @logger.with_payload(:more => 'data', :even => 2) do @logger.info('Hello world') SemanticLogger::Logger.flush - assert_match /\d+-\d+-\d+ \d+:\d+:\d+.\d+ \w \[\d+:.+\] LoggerTest -- Hello world -- \{:more=>\"data\", :even=>2, :tracking_number=>\"123456\"\}/, @mock_logger.message + assert_match /\d+-\d+-\d+ \d+:\d+:\d+.\d+ \w \[\d+:.+\] LoggerTest -- Hello world -- \{:even=>2, :more=>\"data\", :tracking_number=>\"123456\"\}/, @mock_logger.message end end end end \ No newline at end of file