| Index: tests/standalone/io/directory_list_nonexistent_test.dart
|
| diff --git a/tests/standalone/io/directory_list_nonexistent_test.dart b/tests/standalone/io/directory_list_nonexistent_test.dart
|
| index e07cb220b91b8bac719772f2f4480e2782e7a389..3ee62acbcd0676e0791a6b94b99e56c6440ce9d1 100644
|
| --- a/tests/standalone/io/directory_list_nonexistent_test.dart
|
| +++ b/tests/standalone/io/directory_list_nonexistent_test.dart
|
| @@ -31,9 +31,9 @@ void testListTooLongName() {
|
| // Construct a long string of the form
|
| // 'tempdir/subdir/../subdir/../subdir'.
|
| var buffer = new StringBuffer();
|
| - buffer.add(subDir.path);
|
| + buffer.write(subDir.path);
|
| for (var i = 0; i < 1000; i++) {
|
| - buffer.add("/../${subDirName}");
|
| + buffer.write("/../${subDirName}");
|
| }
|
| var long = new Directory("${buffer.toString()}");
|
| Expect.throws(() => long.listSync(),
|
|
|