| Index: pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| diff --git a/pkg/analyzer/test/src/summary/resynthesize_test.dart b/pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| index 3f6d6536ee097af4b7f4f35e66965121933a6fac..35a9bfc056dbd7db976209b7406f96f95cca394f 100644
|
| --- a/pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| +++ b/pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| @@ -534,12 +534,19 @@ class ResynthTest extends ResolverTestCase {
|
| compareMetadata(resynthesized.metadata, original.metadata, desc);
|
| // Modifiers are a pain to test via handles. So just test them via the
|
| // actual element.
|
| - for (Modifier modifier in Modifier.values) {
|
| + for (Modifier modifier in Modifier.persistedValues) {
|
| bool got = rImpl.hasModifier(modifier);
|
| bool want = oImpl.hasModifier(modifier);
|
| expect(got, want,
|
| reason: 'Mismatch in $desc.$modifier: got $got, want $want');
|
| }
|
| + for (Modifier modifier in Modifier.transientValues) {
|
| + bool got = rImpl.hasModifier(modifier);
|
| + bool want = false;
|
| + expect(got, false,
|
| + reason: 'Mismatch in $desc.$modifier: got $got, want $want');
|
| + }
|
| +
|
| // Validate members.
|
| if (oImpl is Member) {
|
| expect(rImpl, new isInstanceOf<Member>(), reason: desc);
|
|
|