2013-09-25 13:52:15 +00:00
|
|
|
// 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.
|
|
|
|
|
2014-04-09 19:42:11 +00:00
|
|
|
import 'package:unittest/unittest.dart';
|
|
|
|
import 'package:unittest/html_config.dart';
|
2013-09-25 13:52:15 +00:00
|
|
|
import 'dart:html';
|
|
|
|
|
|
|
|
main() {
|
|
|
|
useHtmlConfiguration();
|
|
|
|
|
|
|
|
test('Uri.base', () {
|
|
|
|
expect(Uri.base.scheme, "http");
|
|
|
|
expect(Uri.base.toString(), window.location.href);
|
|
|
|
});
|
|
|
|
}
|