Files
sdk/tests/lib_2/html/uri_test.dart
T
Jakob Roland Andersen a46ee1294a Migrated test batch 212 to Dart 2.0.
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>
2017-10-05 05:16:20 +00:00

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);
});
}