| Index: tests/compiler/dart2js/constant_value_test.dart
|
| diff --git a/tests/compiler/dart2js/constant_value_test.dart b/tests/compiler/dart2js/constant_value_test.dart
|
| index 5c5bec689f3a124ee0fa5dfd7d3ceed6c4910f10..1558032ab8ba85175c064b788bff363920aefffb 100644
|
| --- a/tests/compiler/dart2js/constant_value_test.dart
|
| +++ b/tests/compiler/dart2js/constant_value_test.dart
|
| @@ -26,14 +26,10 @@ void main() {
|
| ClassElement C = env.getElement('C');
|
| FieldElement field1 = C.lookupLocalMember('field1');
|
| FieldElement field2 = C.lookupLocalMember('field2');
|
| - ConstantValue value1 = new ConstructedConstantValue(C.rawType, {
|
| - field1: new IntConstantValue(0),
|
| - field2: new IntConstantValue(1),
|
| - });
|
| - ConstantValue value2 = new ConstructedConstantValue(C.rawType, {
|
| - field2: new IntConstantValue(1),
|
| - field1: new IntConstantValue(0),
|
| - });
|
| + ConstantValue value1 = new ConstructedConstantValue(C.rawType,
|
| + {field1: new IntConstantValue(0), field2: new IntConstantValue(1),});
|
| + ConstantValue value2 = new ConstructedConstantValue(C.rawType,
|
| + {field2: new IntConstantValue(1), field1: new IntConstantValue(0),});
|
| Expect.equals(value1.hashCode, value2.hashCode, "Hashcode mismatch.");
|
| Expect.equals(value1, value2, "Value mismatch.");
|
| });
|
|
|