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

Unified Diff: tests/standalone/io/directory_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/directory_non_ascii_test.dart
diff --git a/tests/standalone/io/directory_non_ascii_test.dart b/tests/standalone/io/directory_non_ascii_test.dart
index 4bc564b02095d05ed0bdf4ae3d62975b888d45a6..dc2dcb1202479348dcbce7a39925d12b7fd5cadc 100644
--- a/tests/standalone/io/directory_non_ascii_test.dart
+++ b/tests/standalone/io/directory_non_ascii_test.dart
@@ -17,7 +17,8 @@ main() {
Directory.systemTemp.createTemp('dart_directory_non_ascii').then((tempDir) {
var nonAsciiDir = new Directory("${tempDir.path}/æøå");
- nonAsciiDir.exists()
+ nonAsciiDir
+ .exists()
.then((e) => Expect.isFalse(e))
.then((_) => nonAsciiDir.create())
.then((_) => nonAsciiDir.exists())
@@ -25,14 +26,16 @@ main() {
.then((_) => new Directory("${tempDir.path}/æøå").createTemp('temp'))
.then((temp) {
Expect.isTrue(temp.path.contains(precomposed) ||
- temp.path.contains(decomposed));
+ temp.path.contains(decomposed));
return temp.delete();
- }).then((_) => tempDir.createTemp('æøå'))
+ })
+ .then((_) => tempDir.createTemp('æøå'))
.then((temp) {
Expect.isTrue(temp.path.contains(precomposed) ||
- temp.path.contains(decomposed));
+ temp.path.contains(decomposed));
return temp.delete();
- }).then((temp) => Expect.isFalse(temp.existsSync()))
+ })
+ .then((temp) => Expect.isFalse(temp.existsSync()))
.then((_) => tempDir.delete(recursive: true))
.then((_) {
Expect.isFalse(nonAsciiDir.existsSync());

Powered by Google App Engine
This is Rietveld 408576698