Index: tests/compiler/dart2js/serialization_test.dart |
diff --git a/tests/compiler/dart2js/serialization_test.dart b/tests/compiler/dart2js/serialization_test.dart |
index 9d15022b39684b3e5a246c0cf286c682dc954b2b..7edeb4c55da2c5029a16cbe883578ff96a60cbfa 100644 |
--- a/tests/compiler/dart2js/serialization_test.dart |
+++ b/tests/compiler/dart2js/serialization_test.dart |
@@ -440,11 +440,9 @@ class ElementPropertyEquivalence extends BaseElementVisitor<dynamic, Element> { |
element1.isConst, element2.isConst); |
check(element1, element2, 'isFinal', |
element1.isFinal, element2.isFinal); |
- if (element1.isConst) { |
- checkConstants( |
- element1, element2, 'constant', |
- element1.constant, element2.constant); |
- } |
+ checkConstants( |
+ element1, element2, 'constant', |
+ element1.constant, element2.constant); |
check(element1, element2, 'isTopLevel', |
element1.isTopLevel, element2.isTopLevel); |
check(element1, element2, 'isStatic', |