Index: tests/standalone/io/file_system_links_test.dart |
diff --git a/tests/standalone/io/file_system_links_test.dart b/tests/standalone/io/file_system_links_test.dart |
index f3a3148c4830b55a01273b5db68016844808b923..2230c0773b536feefbdae6ab8e616f68861b0e49 100644 |
--- a/tests/standalone/io/file_system_links_test.dart |
+++ b/tests/standalone/io/file_system_links_test.dart |
@@ -101,7 +101,7 @@ testFileWriteRead() { |
createLink(x, y, () { |
var data = "asdf".codeUnits; |
var output = new File(y).openWrite(mode: FileMode.WRITE); |
- output.writeBytes(data); |
+ output.add(data); |
output.close(); |
output.done.then((_) { |
var read = new File(y).readAsBytesSync(); |