| 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 72a8c98a9ed3c55be6dfa8c3b0d1ad636cc2d222..0c29a17fa887ac0cae841e674d9654fe4392cf4a 100644
|
| --- a/pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| +++ b/pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| @@ -523,12 +523,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);
|
|
|