| Index: tests/standalone/io/file_error_test.dart
 | 
| diff --git a/tests/standalone/io/file_error_test.dart b/tests/standalone/io/file_error_test.dart
 | 
| index 4a6a30989150809fbb4fead9543f710a6072d233..3c8d08431919800ac5fe968e37f2757ec5d04fdc 100644
 | 
| --- a/tests/standalone/io/file_error_test.dart
 | 
| +++ b/tests/standalone/io/file_error_test.dart
 | 
| @@ -273,12 +273,12 @@ void testReadAsTextNonExistent() {
 | 
|    var file = new File("${temp.path}/nonExistentFile4");
 | 
|  
 | 
|    // Non-existing file should throw exception.
 | 
| -  Expect.throws(() => file.readAsTextSync(),
 | 
| +  Expect.throws(() => file.readAsStringSync(),
 | 
|                  (e) => checkOpenNonExistentFileException(e));
 | 
|  
 | 
| -  var readAsTextFuture = file.readAsText(Encoding.ASCII);
 | 
| -  readAsTextFuture.then((data) => Expect.fail("Unreachable code"));
 | 
| -  readAsTextFuture.handleException((e) {
 | 
| +  var readAsStringFuture = file.readAsString(Encoding.ASCII);
 | 
| +  readAsStringFuture.then((data) => Expect.fail("Unreachable code"));
 | 
| +  readAsStringFuture.handleException((e) {
 | 
|      checkOpenNonExistentFileException(e);
 | 
|      p.toSendPort().send(null);
 | 
|      return true;
 | 
| 
 |