| Index: pkg/analyzer_plugin/test/integration/support/protocol_matchers.dart
|
| diff --git a/pkg/analyzer_plugin/test/integration/support/protocol_matchers.dart b/pkg/analyzer_plugin/test/integration/support/protocol_matchers.dart
|
| index dbb2e4509c1fda817c3d51ae02633bede49db71f..f5af9272b54e54b9926420fa9fe3dca0214f74a2 100644
|
| --- a/pkg/analyzer_plugin/test/integration/support/protocol_matchers.dart
|
| +++ b/pkg/analyzer_plugin/test/integration/support/protocol_matchers.dart
|
| @@ -510,20 +510,21 @@ final Matcher isHighlightRegionType = new MatchesEnum("HighlightRegionType", [
|
| *
|
| * {
|
| * "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
|
|
|