| Index: tests/compiler/dart2js_extra/to_string_test.dart
|
| diff --git a/tests/compiler/dart2js_extra/to_string_test.dart b/tests/compiler/dart2js_extra/to_string_test.dart
|
| index ee28afe01be7b16a943164fd4120356db649d327..3fdf13878acecb6ae091890e78753cf1df03ca2e 100644
|
| --- a/tests/compiler/dart2js_extra/to_string_test.dart
|
| +++ b/tests/compiler/dart2js_extra/to_string_test.dart
|
| @@ -3,6 +3,7 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| class A extends Object {
|
| + const A();
|
| }
|
|
|
| class Concater {
|
| @@ -19,7 +20,9 @@ test(expected, x) {
|
|
|
| main() {
|
| test("Instance of 'Object'", new Object());
|
| - test("Instance of 'A'", new A());
|
| + // The minifier may rename the 'A' class so we can't predict the exact
|
| + // name, but we still ant to be sure that the Concater works.
|
| + test(const A().toString(), new A());
|
| test("[]", []);
|
| test("1", 1);
|
| }
|
|
|