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

Unified Diff: tests/standalone/io/file_write_as_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/standalone/io/file_write_as_test.dart
diff --git a/tests/standalone/io/file_write_as_test.dart b/tests/standalone/io/file_write_as_test.dart
index a5fb96b1d83ccf86374905de6e90811cd4bfb493..efbe0a74f4dde97cf2ebcf0310b59b4ca5b14be0 100644
--- a/tests/standalone/io/file_write_as_test.dart
+++ b/tests/standalone/io/file_write_as_test.dart
@@ -31,7 +31,7 @@ Future testWriteAsBytes(dir) {
var completer = new Completer();
var f = new File('${dir.path}/bytes.txt');
var data = [50, 50, 50];
- f.writeAsBytes(data).then((file){
+ f.writeAsBytes(data).then((file) {
Expect.equals(f, file);
f.readAsBytes().then((bytes) {
Expect.listEquals(data, bytes);
@@ -52,7 +52,7 @@ Future testWriteAsString(dir) {
var completer = new Completer();
var f = new File('${dir.path}/strings.txt');
var data = 'asdf';
- f.writeAsString(data).then((file){
+ f.writeAsString(data).then((file) {
Expect.equals(f, file);
f.readAsString().then((str) {
Expect.equals(data, str);

Powered by Google App Engine
This is Rietveld 408576698