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

Unified Diff: tests/standalone/io/process_non_ascii_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/process_non_ascii_test.dart
diff --git a/tests/standalone/io/process_non_ascii_test.dart b/tests/standalone/io/process_non_ascii_test.dart
index 37ff050d9c5328972506747e3ff3f722092ecc1d..f897f7774334db09a04b2d2a6ac97286eca9ab66 100644
--- a/tests/standalone/io/process_non_ascii_test.dart
+++ b/tests/standalone/io/process_non_ascii_test.dart
@@ -14,8 +14,7 @@ main() {
var nonAsciiDir = new Directory('${tempDir.path}/æøå');
nonAsciiDir.createSync();
var nonAsciiFile = new File('${nonAsciiDir.path}/æøå.dart');
- nonAsciiFile.writeAsStringSync(
-"""
+ nonAsciiFile.writeAsStringSync("""
import 'dart:io';
main() {
@@ -27,10 +26,11 @@ main() {
var nonAsciiTxtFile = new File('${nonAsciiDir.path}/æøå.txt');
nonAsciiTxtFile.writeAsStringSync('æøå');
var script = nonAsciiFile.path;
- Process.run(executable, [script], workingDirectory: nonAsciiDir.path)
+ Process
+ .run(executable, [script], workingDirectory: nonAsciiDir.path)
.then((result) {
- Expect.equals(0, result.exitCode);
- tempDir.deleteSync(recursive: true);
- asyncEnd();
- });
+ Expect.equals(0, result.exitCode);
+ tempDir.deleteSync(recursive: true);
+ asyncEnd();
+ });
}

Powered by Google App Engine
This is Rietveld 408576698