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

Unified Diff: tests/lib_strong/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/lib_strong/html/localstorage_test.dart
diff --git a/tests/lib_strong/html/localstorage_test.dart b/tests/lib_strong/html/localstorage_test.dart
index 2ed126ec93e235553abaa24d2876bea32d1057ac..58cf609a92f45c7f29167f7b2559802559029f4f 100644
--- a/tests/lib_strong/html/localstorage_test.dart
+++ b/tests/lib_strong/html/localstorage_test.dart
@@ -53,11 +53,12 @@ main() {
expect(window.localStorage['key4'], 'val4');
expect(window.localStorage['key3'], 'val3');
- expect(window.localStorage.putIfAbsent('key3',
- () {
+ expect(
+ window.localStorage.putIfAbsent('key3', () {
fail('should not be called');
return 'unused';
- }), 'val3');
+ }),
+ 'val3');
expect(window.localStorage['key3'], 'val3');
});

Powered by Google App Engine
This is Rietveld 408576698