File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/scala/com/typesafe/scalalogging Expand file tree Collapse file tree 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
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}
You can’t perform that action at this time.
0 commit comments