File tree 1 file changed +3
-3
lines changed
src/test/scala/com/typesafe/scalalogging
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -392,12 +392,12 @@ class LoggerTakingImplicitSpec extends AnyWordSpec with Matchers with Varargs wi
392
392
val msg = " msg"
393
393
val cause = new RuntimeException (" cause" )
394
394
val arg1 = " arg1"
395
- val arg2 = Integer .valueOf(1 )
395
+ val arg2 : Integer = Integer .valueOf(1 )
396
396
val arg3 = " arg3"
397
397
val logMsg = " corrId - msg"
398
- val underlying = mock[org.slf4j.Logger ]
398
+ val underlying : Underlying = mock[org.slf4j.Logger ]
399
399
when(p(underlying)).thenReturn(isEnabled)
400
400
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)
402
402
}
403
403
}
You can’t perform that action at this time.
0 commit comments