blob: 081e734216b8ebf79a5443a48ce331d2b45ffbf5 [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 new Uri({scheme, String userInfo: "", String host: "", port: 0,
/// String path, Iterable<String> pathSegments, String query, Map<String,
/// String> queryParameters, fragment: ""})
/// Creates a new URI from its components.
/// The scheme component is set through scheme. The scheme is normalized to
/// all lowercase letters.
/// @description Check scheme normalization
/// @author ilya
import "../../../Utils/expect.dart";
main() {
var x = new Uri(scheme: 'FoO');
Expect.equals('foo', x.scheme);