Skip to content

Commit

Permalink
Migrate off deprecated mockito APIs
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 398473875
  • Loading branch information
cushon authored and Flogger Team committed Sep 23, 2021
1 parent d3e4a98 commit 6789d53
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyNoMoreInteractions;
import static org.mockito.Mockito.verifyZeroInteractions;

import com.google.common.flogger.LogContext;
import com.google.common.flogger.MetadataKey;
Expand Down Expand Up @@ -109,7 +108,7 @@ public void testErrorHandling() {
backend.log(data);
fail("expected ParseException");
} catch (ParseException expected) {
verifyZeroInteractions(logger);
verifyNoMoreInteractions(logger);
backend.handleError(expected, data);
verify(logger)
.error(
Expand Down

0 comments on commit 6789d53

Please sign in to comment.