| 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());
|
|
|