From 2085d5d168097b1b949850ce9c410df1a8141c4d Mon Sep 17 00:00:00 2001 From: Morgen Peschke Date: Tue, 25 Jun 2024 15:47:44 -0700 Subject: [PATCH] Improve the test name --- .../log4cats/slf4j/internal/Slf4jLoggerInternalSuite.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/slf4j/src/test/scala/org/typelevel/log4cats/slf4j/internal/Slf4jLoggerInternalSuite.scala b/slf4j/src/test/scala/org/typelevel/log4cats/slf4j/internal/Slf4jLoggerInternalSuite.scala index 976dec24..4d20249e 100644 --- a/slf4j/src/test/scala/org/typelevel/log4cats/slf4j/internal/Slf4jLoggerInternalSuite.scala +++ b/slf4j/src/test/scala/org/typelevel/log4cats/slf4j/internal/Slf4jLoggerInternalSuite.scala @@ -141,7 +141,9 @@ class Slf4jLoggerInternalSuite extends CatsEffectSuite { ) } - testLoggerFixture().test("Slf4jLoggerInternal ignores(?) values already in the MDC") { testLogger => + testLoggerFixture().test( + "Slf4jLoggerInternal does not include values previously in the MDC in the log's context" + ) { testLogger => IO.delay(MDC.put("baz", "bar")) >> Slf4jLogger.getLoggerFromSlf4j[IO](testLogger).info(Map("foo" -> "bar"))("A log went here") >> IO(testLogger.logs())