Skip to content

Commit 95cb228

Browse files
prateekatknoldusanalytically
authored andcommitted
Added missing type annotaions in LoggerTakingImplicitSpec
1 parent 901fe31 commit 95cb228

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/scala/com/typesafe/scalalogging/LoggerTakingImplicitSpec.scala

+3-3
Original file line numberDiff line numberDiff line change
@@ -392,12 +392,12 @@ class LoggerTakingImplicitSpec extends AnyWordSpec with Matchers with Varargs wi
392392
val msg = "msg"
393393
val cause = new RuntimeException("cause")
394394
val arg1 = "arg1"
395-
val arg2 = Integer.valueOf(1)
395+
val arg2: Integer = Integer.valueOf(1)
396396
val arg3 = "arg3"
397397
val logMsg = "corrId - msg"
398-
val underlying = mock[org.slf4j.Logger]
398+
val underlying: Underlying = mock[org.slf4j.Logger]
399399
when(p(underlying)).thenReturn(isEnabled)
400400
if (stubCanLog) when(canLogCorrelationId.logMessage(any[String], any[CorrelationId])).thenReturn(logMsg)
401-
val logger = Logger.takingImplicit[CorrelationId](underlying)
401+
val logger: LoggerTakingImplicit[CorrelationId] = Logger.takingImplicit[CorrelationId](underlying)
402402
}
403403
}

0 commit comments

Comments
 (0)