blob: 83ab215039ddc32764e9707908741c632a9d12c1 [file] [log] [blame]
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
// 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.
// @dart = 2.9
import "package:expect/expect.dart";
// Make sure the logic for skipping the initial quotes in a string isn't
// re-triggered after an interpolation expression.
const String x = '$y"';
const String y = 'foo';
const Map m = const {x: 0, y: 1};
main() {
Expect.equals(x, 'foo"');
Expect.equals(m.length, 2);
}