blob: e88f0dd14a77a1769d794868265054944c86aa5f [file] [log] [blame]
// Copyright (c) 2011, 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
/// @assertion interface String extends Comparable, Pattern
/// @description Checks that String really implements Pattern and Comparable
/// @author msyabro
import "../../../Utils/expect.dart";
main() {
String s = new String.fromCharCodes([0x61, 0x62, 0x63]);
Expect.isTrue(s is Comparable);
Expect.isTrue(s is Pattern);
}