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

Unified Diff: tools/dom/docs/test/docs_test.dart

Issue 2827793002: Format all files under tools and utils directory. (Closed)
Patch Set: Format all files under tools and utils directory. 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
« no previous file with comments | « tools/dom/docs/lib/docs.dart ('k') | tools/dom/scripts/idlrenderer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/docs/test/docs_test.dart
diff --git a/tools/dom/docs/test/docs_test.dart b/tools/dom/docs/test/docs_test.dart
index 4bf8c48e0ed0b4c6f413a0124c96f57f2ba528b5..015f8e98cea9152985409bf552bb2ea2c4388371 100644
--- a/tools/dom/docs/test/docs_test.dart
+++ b/tools/dom/docs/test/docs_test.dart
@@ -40,19 +40,21 @@ main() {
if (testJson.existsSync()) testJson.deleteSync();
assert(!testJson.existsSync());
- expect(convert(lib_uri, testJsonPath)
- .then((bool anyErrors) {
- expect(anyErrors, isFalse);
+ expect(
+ convert(lib_uri, testJsonPath).then((bool anyErrors) {
+ expect(anyErrors, isFalse);
- // We should have a file now.
- expect(testJson.existsSync(), isTrue);
+ // We should have a file now.
+ expect(testJson.existsSync(), isTrue);
- // Ensure that there's nothing different between the new JSON and old.
- expect(testJson.readAsStringSync(), equals(oldJson.readAsStringSync()));
+ // Ensure that there's nothing different between the new JSON and old.
+ expect(testJson.readAsStringSync(),
+ equals(oldJson.readAsStringSync()));
- // Ensure that the old JSON file didn't actually change.
- expect(oldJsonModified, equals(oldJson.lastModifiedSync()));
- }), completes);
+ // Ensure that the old JSON file didn't actually change.
+ expect(oldJsonModified, equals(oldJson.lastModifiedSync()));
+ }),
+ completes);
});
});
}
« no previous file with comments | « tools/dom/docs/lib/docs.dart ('k') | tools/dom/scripts/idlrenderer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698