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

Unified Diff: tests/html/localstorage_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/localstorage_test.dart
diff --git a/tests/html/localstorage_test.dart b/tests/html/localstorage_test.dart
index 3e92b10dc7e0ad6256c8455418b22ae6b8e20629..66474362d0fe1f7953c1a6e32bbae6542f18cdd5 100644
--- a/tests/html/localstorage_test.dart
+++ b/tests/html/localstorage_test.dart
@@ -3,6 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
library LocalStorageTest;
+
import 'package:unittest/unittest.dart';
import 'package:unittest/html_config.dart';
import 'dart:html';
@@ -19,7 +20,7 @@ main() {
try {
fn();
} finally {
- window.localStorage.clear();
+ window.localStorage.clear();
}
});
}
@@ -60,8 +61,10 @@ main() {
expect(window.localStorage['key4'], 'val4');
expect(window.localStorage['key3'], 'val3');
- expect(window.localStorage.putIfAbsent('key3',
- () => expect(false, isTrue, reason: 'should not be called')), 'val3');
+ expect(
+ window.localStorage.putIfAbsent('key3',
+ () => expect(false, isTrue, reason: 'should not be called')),
+ 'val3');
expect(window.localStorage['key3'], 'val3');
});

Powered by Google App Engine
This is Rietveld 408576698