Index: pkg/analysis_server/test/services/refactoring/inline_method_test.dart |
diff --git a/pkg/analysis_server/test/services/refactoring/inline_method_test.dart b/pkg/analysis_server/test/services/refactoring/inline_method_test.dart |
index c629f935b6981cb6845da99a6e60eb7163838c17..bf8f481756506c94670d4613ebf0474bb0226955 100644 |
--- a/pkg/analysis_server/test/services/refactoring/inline_method_test.dart |
+++ b/pkg/analysis_server/test/services/refactoring/inline_method_test.dart |
@@ -1713,6 +1713,6 @@ main(bool p, bool p2, bool p3) { |
void _createRefactoring(String search) { |
int offset = findOffset(search); |
refactoring = new InlineMethodRefactoring( |
- searchEngine, (element) async => element.unit, testUnit, offset); |
+ searchEngine, getResolvedUnitWithElement, testUnit, offset); |
} |
} |