test/appender/sentry_test.rb in semantic_logger-4.1.1 vs test/appender/sentry_test.rb in semantic_logger-4.2.0
- old
+ new
@@ -35,10 +35,12 @@
@appender.send(level, @message, error)
end
assert_equal error.class.to_s, exception.class.to_s
assert_equal error.message, exception.message
- assert_equal @message, hash[:message], hash
+ assert_equal true, hash.has_key?(:extra)
+ assert_equal @message, hash[:extra][:message], hash
+ assert_equal level, hash[:level]
end
end
end
end