Index: pkg/analysis_server/test/services/correction/status_test.dart |
diff --git a/pkg/analysis_server/test/services/correction/status_test.dart b/pkg/analysis_server/test/services/correction/status_test.dart |
index 555b5824a4a6eb5de7a03a6652d97f6266055492..fe0aae677962cd62015065f6c88a31fb925942cd 100644 |
--- a/pkg/analysis_server/test/services/correction/status_test.dart |
+++ b/pkg/analysis_server/test/services/correction/status_test.dart |
@@ -41,7 +41,14 @@ class RefactoringLocationTest extends AbstractSingleUnitTest { |
resolveTestUnit('class MyClass {}'); |
Element element = findElement('MyClass'); |
SourceRange range = rangeElementName(element); |
- SearchMatch match = new SearchMatch(null, element, range, true, false); |
+ SearchMatch match = new SearchMatch( |
+ context, |
+ element.library.source.uri.toString(), |
+ element.source.uri.toString(), |
+ null, |
+ range, |
+ true, |
+ false); |
// check |
Location location = newLocation_fromMatch(match); |
expect(location.file, '/test.dart'); |