blob: c137ca641ab8c8332e772faf51fb9c527d51400c [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 final List<String> pathSegments
/// Returns the URI path split into its segments.
/// Each of the segments in the returned list have been decoded. If the path
/// is empty the empty list will be returned. A leading slash / does not
/// affect the segments returned.
/// @description Checks that empty list is returned if path is empty
/// @author ilya
import "../../../Utils/expect.dart";
main() {
var x = Uri.parse('http://');