Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: tests/standalone/src/ReadIntoConstList.dart

Issue 9432023: Add both sync and async methods for getting streams for a File (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/standalone/src/ReadIntoConstList.dart
diff --git a/tests/standalone/src/ReadIntoConstList.dart b/tests/standalone/src/ReadIntoConstList.dart
index 0c749362b897836be44e9e896a0bff2984c91360..e2566bac23d3527c58befaeb8f416c620176bc07 100644
--- a/tests/standalone/src/ReadIntoConstList.dart
+++ b/tests/standalone/src/ReadIntoConstList.dart
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -15,7 +15,7 @@ void main() {
String filename = getFilename("bin/file_test.cc");
File file = new File(filename);
- InputStream input = file.openInputStream();
+ InputStream input = file.openInputStreamSync();
try {
input.readInto(a, 0, 1);
Expect.fail("no exception thrown");

Powered by Google App Engine
This is Rietveld 408576698