blob: e3506e939e0ea0b8ac46b823b8bbe06cb82070fe [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.
/// @assertion If the string is not already all lower case, returns a new string
/// where all characters of this string are made lower case. Returns
/// this otherwise.
/// @description Checks basic cases (latin alphabet)
/// @author msyabro
import "../../../Utils/expect.dart";
main() {
Expect.equals("uppercase", "UPPERCASE".toLowerCase());
Expect.equals("almostuppercase", "AlmostUPPERCASE".toLowerCase());
}