blob: a29e25b3ad97086f7b6f5affbb6e883c2103ad79 [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 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);
}