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

Unified Diff: tests/html/indexeddb_5_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/indexeddb_5_test.dart
diff --git a/tests/html/indexeddb_5_test.dart b/tests/html/indexeddb_5_test.dart
index cbf77d1b1648438e09982e1fb4cb813ed1f4fd52..cc50cea08bcf2d68751ed50c5fe47a2ced9418aa 100644
--- a/tests/html/indexeddb_5_test.dart
+++ b/tests/html/indexeddb_5_test.dart
@@ -1,4 +1,5 @@
library IndexedDB1Test;
+
import 'package:unittest/unittest.dart';
import 'package:unittest/html_config.dart';
import 'dart:async';
@@ -20,13 +21,12 @@ main() {
test('init', () {
return html.window.indexedDB.deleteDatabase(dbName).then((_) {
return html.window.indexedDB.open(dbName, version: 1,
- onUpgradeNeeded: (e) {
- var db = e.target.result;
- var objectStore = db.createObjectStore(storeName,
- autoIncrement: true);
- var index = objectStore.createIndex(indexName, 'name_index',
- unique: false);
- });
+ onUpgradeNeeded: (e) {
+ var db = e.target.result;
+ var objectStore = db.createObjectStore(storeName, autoIncrement: true);
+ var index =
+ objectStore.createIndex(indexName, 'name_index', unique: false);
+ });
}).then((database) {
db = database;
});
@@ -161,7 +161,6 @@ main() {
}
});
return cursors.last;
-
}).then((_) {
return transaction.completed;
}).then((_) {

Powered by Google App Engine
This is Rietveld 408576698