Chromium Code Reviews| Index: tests/standalone/src/FileTest.dart |
| diff --git a/tests/standalone/src/FileTest.dart b/tests/standalone/src/FileTest.dart |
| index 5b172bb088e4ab0486d23dbaeb186e37c88ff67d..d86e8fd8b5c20b79eaf46c49d4a38d99fee1ab5d 100644 |
| --- a/tests/standalone/src/FileTest.dart |
| +++ b/tests/standalone/src/FileTest.dart |
| @@ -467,7 +467,12 @@ class FileTest { |
| static void testTruncate() { |
| File file = new File(tempDirectory.path + "/out_truncate"); |
| - List buffer = const [65, 65, 65, 65, 65, 65, 65, 65, 65, 65]; |
| + // TODO(sgjesse): Handle this. |
|
Mads Ager (google)
2012/02/20 13:50:31
Should be handled before commit as well.
Søren Gjesse
2012/02/22 16:27:07
Done.
|
| + // List buffer = const [65, 65, 65, 65, 65, 65, 65, 65, 65, 65]; |
| + List buffer = new List(10); |
| + for (int i = 0; i < 10; i++) { |
| + buffer[i] = 65; |
| + } |
| file.errorHandler = (error) { |
| Expect.fail("testTruncate: No errors expected"); |
| }; |