| Index: tests/html/location_test.dart
|
| diff --git a/tests/html/location_test.dart b/tests/html/location_test.dart
|
| index e274a2a02f07cc70d3e11501932b72ec4387a396..c3c4029dccc210e543c89b35ee1144f99902ac86 100644
|
| --- a/tests/html/location_test.dart
|
| +++ b/tests/html/location_test.dart
|
| @@ -1,4 +1,5 @@
|
| library LocationTest;
|
| +
|
| import 'package:unittest/unittest.dart';
|
| import 'package:unittest/html_config.dart';
|
| import 'dart:html';
|
| @@ -9,14 +10,14 @@ main() {
|
| var isLocation = predicate((x) => x is Location, 'is a Location');
|
|
|
| test('location hash', () {
|
| - final location = window.location;
|
| - expect(location, isLocation);
|
| -
|
| - // The only navigation we dare try is hash.
|
| - location.hash = 'hello';
|
| - var h = location.hash;
|
| - expect(h, '#hello');
|
| - });
|
| + final location = window.location;
|
| + expect(location, isLocation);
|
| +
|
| + // The only navigation we dare try is hash.
|
| + location.hash = 'hello';
|
| + var h = location.hash;
|
| + expect(h, '#hello');
|
| + });
|
|
|
| test('location.origin', () {
|
| var origin = window.location.origin;
|
|
|