Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(805)

Unified Diff: tests/html/location_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698