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

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

Issue 9029001: Add close to input stream and cleanup socket and streams (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments by ager@ Created 8 years, 12 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/ListInputStreamTest.dart ('k') | tests/standalone/src/SocketCloseTest.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 7977b8cbf13adb206bac0fd21e8023d3548198c6..0c749362b897836be44e9e896a0bff2984c91360 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);
- FileInputStream input = file.openInputStream();
+ InputStream input = file.openInputStream();
try {
input.readInto(a, 0, 1);
Expect.fail("no exception thrown");
« no previous file with comments | « tests/standalone/src/ListInputStreamTest.dart ('k') | tests/standalone/src/SocketCloseTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698