| Index: tests/language/regress_23046_test.dart
|
| diff --git a/tests/language/implicit_super_constructor_call_test.dart b/tests/language/regress_23046_test.dart
|
| similarity index 50%
|
| copy from tests/language/implicit_super_constructor_call_test.dart
|
| copy to tests/language/regress_23046_test.dart
|
| index 70a34af25a505ddb7ac1230ee5d4c7e8000b2529..cb7b84a04581d87f3c6d5beab0f4b524af6b9853 100644
|
| --- a/tests/language/implicit_super_constructor_call_test.dart
|
| +++ b/tests/language/regress_23046_test.dart
|
| @@ -2,25 +2,16 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// This is a regression test for http://dartbug.com/22723.
|
| -
|
| import "package:expect/expect.dart";
|
|
|
| -class A {
|
| - final x;
|
| +// Make sure the logic for skipping the initial quotes in a string isn't
|
| +// re-triggered after an interpolation expression.
|
|
|
| - @NoInline()
|
| - A({this.x: "foo"}) {
|
| - Expect.equals("foo", x.toString());
|
| - }
|
| -}
|
| -
|
| -class C extends A {
|
| - C(foobar) { }
|
| -}
|
| +const String x = '$y"';
|
| +const String y = 'foo';
|
| +const Map m = const { x: 0, y: 1 };
|
|
|
| main() {
|
| - var c = new C(499);
|
| - Expect.equals("foo", c.x.toString());
|
| + Expect.equals(x, 'foo"');
|
| + Expect.equals(m.length, 2);
|
| }
|
| -
|
|
|