Index: pkg/analyzer_cli/test/reporter_test.dart |
diff --git a/pkg/analyzer_cli/test/reporter_test.dart b/pkg/analyzer_cli/test/reporter_test.dart |
index 193a532ff247cda17d2eb1d0c65e9a631dad329e..d5de24cb03b5cb311051a50c557872833fbe83b7 100644 |
--- a/pkg/analyzer_cli/test/reporter_test.dart |
+++ b/pkg/analyzer_cli/test/reporter_test.dart |
@@ -9,7 +9,7 @@ import 'package:analyzer/src/generated/engine.dart'; |
import 'package:analyzer_cli/src/ansi.dart' as ansi; |
import 'package:analyzer_cli/src/error_formatter.dart'; |
import 'package:test/test.dart' hide ErrorFormatter; |
-import 'package:typed_mock/typed_mock.dart'; |
+import 'package:mockito/mockito.dart'; |
import 'mocks.dart'; |
@@ -80,7 +80,7 @@ MockAnalysisErrorInfo mockError(ErrorType type, ErrorSeverity severity) { |
var location = new MockLineInfo_Location(); |
when(location.columnNumber).thenReturn(3); |
when(location.lineNumber).thenReturn(3); |
- when(lineInfo.getLocation(anyObject)).thenReturn(location); |
+ when(lineInfo.getLocation(any)).thenReturn(location); |
when(info.lineInfo).thenReturn(lineInfo); |
// Details |