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

Unified Diff: runtime/observatory/tests/service/dev_fs_weird_char_test.dart

Issue 2751423005: Run dartfmt on all files under runtime. (Closed)
Patch Set: Run dartfmt on all files under runtime. Created 3 years, 9 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: runtime/observatory/tests/service/dev_fs_weird_char_test.dart
diff --git a/runtime/observatory/tests/service/dev_fs_weird_char_test.dart b/runtime/observatory/tests/service/dev_fs_weird_char_test.dart
index 9ee241284408dd78bb6c7f121ccb008bf6137f83..a5c9ef72f87618c582d56c3d9d2f15da9df2a519 100644
--- a/runtime/observatory/tests/service/dev_fs_weird_char_test.dart
+++ b/runtime/observatory/tests/service/dev_fs_weird_char_test.dart
@@ -17,30 +17,27 @@ var tests = [
var result;
// Create DevFS.
- result = await vm.invokeRpcNoUpgrade('_createDevFS', { 'fsName': fsId });
+ result = await vm.invokeRpcNoUpgrade('_createDevFS', {'fsName': fsId});
expect(result['type'], equals('FileSystem'));
expect(result['name'], equals(fsId));
expect(result['uri'], new isInstanceOf<String>());
// Write the file.
- result = await vm.invokeRpcNoUpgrade('_writeDevFSFile', {
- 'fsName': fsId,
- 'path': filePath,
- 'fileContents': fileContents
- });
+ result = await vm.invokeRpcNoUpgrade('_writeDevFSFile',
+ {'fsName': fsId, 'path': filePath, 'fileContents': fileContents});
expect(result['type'], equals('Success'));
// Read the file back.
result = await vm.invokeRpcNoUpgrade('_readDevFSFile', {
- 'fsName': fsId,
- 'path': filePath,
+ 'fsName': fsId,
+ 'path': filePath,
});
expect(result['type'], equals('FSFile'));
expect(result['fileContents'], equals(fileContents));
// List all the files in the file system.
result = await vm.invokeRpcNoUpgrade('_listDevFSFiles', {
- 'fsName': fsId,
+ 'fsName': fsId,
});
expect(result['type'], equals('FSFileList'));
expect(result['files'].length, equals(1));
@@ -48,7 +45,7 @@ var tests = [
// Delete DevFS.
result = await vm.invokeRpcNoUpgrade('_deleteDevFS', {
- 'fsName': fsId,
+ 'fsName': fsId,
});
expect(result['type'], equals('Success'));
},

Powered by Google App Engine
This is Rietveld 408576698