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

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

Issue 9487005: Move back to having File.open{Input,Output}Stream return the stream directly. (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
« no previous file with comments | « tests/standalone/src/FileTest.dart ('k') | tests/standalone/src/StreamPipeTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/ReadIntoConstList.dart
diff --git a/tests/standalone/src/ReadIntoConstList.dart b/tests/standalone/src/ReadIntoConstList.dart
index e2566bac23d3527c58befaeb8f416c620176bc07..bc78386e70abd7a68c4f4bc8332b56d3dca15aab 100644
--- a/tests/standalone/src/ReadIntoConstList.dart
+++ b/tests/standalone/src/ReadIntoConstList.dart
@@ -15,7 +15,7 @@ void main() {
String filename = getFilename("bin/file_test.cc");
File file = new File(filename);
- InputStream input = file.openInputStreamSync();
+ InputStream input = file.openInputStream();
try {
input.readInto(a, 0, 1);
Expect.fail("no exception thrown");
« no previous file with comments | « tests/standalone/src/FileTest.dart ('k') | tests/standalone/src/StreamPipeTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698