a46ee1294a
Bug: Change-Id: I2a062b9c1c2889355cc85884243bac580f3dce09 Reviewed-on: https://dart-review.googlesource.com/10480 Commit-Queue: Jakob Roland Andersen <jakobr@google.com> Reviewed-by: Florian Loitsch <floitsch@google.com>
15 lines
411 B
Dart
15 lines
411 B
Dart
// Copyright (c) 2012, 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.
|
|
|
|
import 'dart:html';
|
|
|
|
import 'package:expect/minitest.dart';
|
|
|
|
main() {
|
|
test('Uri.base', () {
|
|
expect(Uri.base.scheme, "http");
|
|
expect(Uri.base.toString(), window.location.href);
|
|
});
|
|
}
|