| Index: tests/compiler/dart2js/deferred_follow_constant_dependencies_test.dart
|
| diff --git a/tests/compiler/dart2js/deferred_follow_constant_dependencies_test.dart b/tests/compiler/dart2js/deferred_follow_constant_dependencies_test.dart
|
| index d1175e736e45ba3ec9cc0427cb390446df1da4d2..0f10523a5b4c1c8677cbd6217b24edffaf25f724 100644
|
| --- a/tests/compiler/dart2js/deferred_follow_constant_dependencies_test.dart
|
| +++ b/tests/compiler/dart2js/deferred_follow_constant_dependencies_test.dart
|
| @@ -5,6 +5,7 @@
|
| // Test that constants depended on by other constants are correctly deferred.
|
|
|
| import 'package:async_helper/async_helper.dart';
|
| +import 'package:compiler/src/common.dart';
|
| import 'package:compiler/src/constants/values.dart';
|
| import 'package:compiler/src/compiler.dart';
|
| import 'package:expect/expect.dart';
|
| @@ -34,8 +35,11 @@ void main() {
|
| return constant.isString
|
| && constant.primitiveValue.slowToString() == stringValue;
|
| });
|
| - Expect.notEquals(null, outputUnitForConstant(constant));
|
| - Expect.notEquals(mainOutputUnit, outputUnitForConstant(constant));
|
| + Expect.notEquals(null, outputUnitForConstant(constant),
|
| + "Constant value ${constant.toStructuredText()} has no output unit.");
|
| + Expect.notEquals(mainOutputUnit, outputUnitForConstant(constant),
|
| + "Constant value ${constant.toStructuredText()} "
|
| + "is in the main output unit.");
|
| }
|
| });
|
| }
|
|
|