| Index: pkg/analysis_server/test/integration/protocol_matchers.dart
|
| diff --git a/pkg/analysis_server/test/integration/protocol_matchers.dart b/pkg/analysis_server/test/integration/protocol_matchers.dart
|
| index 32ac866da5416309ca1c5ecffe322ba7cf999e1e..17e4a13aaae400f44014a6c73213a49e5bb91589 100644
|
| --- a/pkg/analysis_server/test/integration/protocol_matchers.dart
|
| +++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
|
| @@ -650,7 +650,7 @@ final Matcher isEditGetRefactoringParams = new LazyMatcher(() => new MatchesJson
|
| *
|
| * {
|
| * "problems": List<RefactoringProblem>
|
| - * "feedback": optional object
|
| + * "feedback": optional RefactoringFeedback
|
| * "change": optional SourceChange
|
| * "potentialEdits": optional List<String>
|
| * }
|
| @@ -659,7 +659,7 @@ final Matcher isEditGetRefactoringResult = new LazyMatcher(() => new MatchesJson
|
| "edit.getRefactoring result", {
|
| "problems": isListOf(isRefactoringProblem)
|
| }, optionalFields: {
|
| - "feedback": isObject,
|
| + "feedback": isRefactoringFeedback,
|
| "change": isSourceChange,
|
| "potentialEdits": isListOf(isString)
|
| }));
|
| @@ -1533,6 +1533,15 @@ final Matcher isRefactoringMethodParameter = new LazyMatcher(() => new MatchesJs
|
| }));
|
|
|
| /**
|
| + * RefactoringFeedback
|
| + *
|
| + * {
|
| + * }
|
| + */
|
| +final Matcher isRefactoringFeedback = new LazyMatcher(() => new MatchesJsonObject(
|
| + "RefactoringFeedback", null));
|
| +
|
| +/**
|
| * RefactoringOptions
|
| *
|
| * {
|
|
|