Index: pkg/analyzer/test/src/summary/resynthesize_common.dart |
diff --git a/pkg/analyzer/test/src/summary/resynthesize_common.dart b/pkg/analyzer/test/src/summary/resynthesize_common.dart |
index a3f8595946e552ba3844aee02d9b21a766cd9897..f695d626d333f1cbf1638e6b6d43d5a74856d8e0 100644 |
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart |
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart |
@@ -4667,12 +4667,21 @@ const vNegate = -1; |
const vComplement = ~1; |
'''); |
if (isStrongMode) { |
- checkElementText(library, r''' |
+ if (isSharedFrontEnd) { |
+ checkElementText(library, r''' |
+const bool vNotEqual = !(1 == 2); |
+const bool vNot = !true; |
+const int vNegate = -1; |
+const int vComplement = ~1; |
+'''); |
+ } else { |
+ checkElementText(library, r''' |
const bool vNotEqual = 1 != 2; |
const bool vNot = !true; |
const int vNegate = -1; |
const int vComplement = ~1; |
'''); |
+ } |
} else { |
checkElementText(library, r''' |
const dynamic vNotEqual = 1 != 2; |