| Index: pkg/analysis_server/test/integration/support/protocol_matchers.dart
|
| diff --git a/pkg/analysis_server/test/integration/support/protocol_matchers.dart b/pkg/analysis_server/test/integration/support/protocol_matchers.dart
|
| index 6be1aa11dd6c1fc36a19ab528ea57d0f8aea3bd8..1429149aa2c87dc7db88ea4d3eeb267fb28363ed 100644
|
| --- a/pkg/analysis_server/test/integration/support/protocol_matchers.dart
|
| +++ b/pkg/analysis_server/test/integration/support/protocol_matchers.dart
|
| @@ -716,20 +716,21 @@ final Matcher isImportedElements = new LazyMatcher(() => new MatchesJsonObject(
|
| *
|
| * {
|
| * "source": KytheVName
|
| - * "kind": String
|
| - * "target": KytheVName
|
| + * "kind": optional String
|
| + * "target": optional KytheVName
|
| * "fact": String
|
| - * "value": List<int>
|
| + * "value": optional List<int>
|
| * }
|
| */
|
| -final Matcher isKytheEntry =
|
| - new LazyMatcher(() => new MatchesJsonObject("KytheEntry", {
|
| - "source": isKytheVName,
|
| - "kind": isString,
|
| - "target": isKytheVName,
|
| - "fact": isString,
|
| - "value": isListOf(isInt)
|
| - }));
|
| +final Matcher isKytheEntry = new LazyMatcher(() => new MatchesJsonObject(
|
| + "KytheEntry", {
|
| + "source": isKytheVName,
|
| + "fact": isString
|
| + }, optionalFields: {
|
| + "kind": isString,
|
| + "target": isKytheVName,
|
| + "value": isListOf(isInt)
|
| + }));
|
|
|
| /**
|
| * KytheVName
|
|
|