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

Unified Diff: tests/standalone/src/io/DirectoryTest.dart

Issue 9652001: SendPort + ReceivePort changes: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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/language/src/TypedMessageTest.dart ('k') | tests/standalone/src/io/FileInputStreamTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/io/DirectoryTest.dart
diff --git a/tests/standalone/src/io/DirectoryTest.dart b/tests/standalone/src/io/DirectoryTest.dart
index 83f22afdb64bbf0b486c9f28eef0ede6d9203f9c..fe332737dd49446f6133d7b40804584a54412833 100644
--- a/tests/standalone/src/io/DirectoryTest.dart
+++ b/tests/standalone/src/io/DirectoryTest.dart
@@ -448,8 +448,9 @@ testCreateTempError() {
var location = illegalTempDirectoryLocation();
if (location == null) return;
- var resultPort = new ReceivePort.singleShot();
+ var resultPort = new ReceivePort();
resultPort.receive((String message, ignored) {
+ resultPort.close();
Expect.equals("error", message);
});
« no previous file with comments | « tests/language/src/TypedMessageTest.dart ('k') | tests/standalone/src/io/FileInputStreamTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698