Index: runtime/observatory/tests/service/dev_fs_http_put_test.dart |
diff --git a/runtime/observatory/tests/service/dev_fs_http_put_test.dart b/runtime/observatory/tests/service/dev_fs_http_put_test.dart |
index c5639a808c1cab590b2fd321ebe82bb932526ce3..cbc25d20fd868f7074756a4806f9d661032d1824 100644 |
--- a/runtime/observatory/tests/service/dev_fs_http_put_test.dart |
+++ b/runtime/observatory/tests/service/dev_fs_http_put_test.dart |
@@ -19,7 +19,6 @@ Future<String> readResponse(HttpClientResponse response) { |
return completer.future; |
} |
- |
var tests = [ |
// Write a file with the ? character in the filename. |
(VM vm) async { |
@@ -30,7 +29,7 @@ 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>()); |
@@ -61,8 +60,7 @@ var tests = [ |
// Write the file again but this time with the true file contents. |
client = new HttpClient(); |
- request = |
- await client.putUrl(Uri.parse(serviceHttpAddress)); |
+ request = await client.putUrl(Uri.parse(serviceHttpAddress)); |
request.headers.add('dev_fs_name', fsId); |
request.headers.add('dev_fs_path', filePath); |
request.add(GZIP.encode(fileContents)); |
@@ -76,15 +74,15 @@ var tests = [ |
// 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(fileContentsBase64)); |
// 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)); |
@@ -92,7 +90,7 @@ var tests = [ |
// Delete DevFS. |
result = await vm.invokeRpcNoUpgrade('_deleteDevFS', { |
- 'fsName': fsId, |
+ 'fsName': fsId, |
}); |
expect(result['type'], equals('Success')); |
}, |