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

Unified Diff: tests/html/worker_test.dart

Issue 19820007: Fixes for Blink roll. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Minors fixes Created 7 years, 5 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/html/worker_test.dart
diff --git a/tests/html/worker_test.dart b/tests/html/worker_test.dart
index 81b8558d96aa035981f8808555b03dcbcb3ec47d..d24394bb74d8c23bad1353aa2ca4b8330739c620 100644
--- a/tests/html/worker_test.dart
+++ b/tests/html/worker_test.dart
@@ -37,9 +37,10 @@ main() {
var blob = new Blob([workerScript], 'text/javascript');
var url = Url.createObjectUrl(blob);
var worker = new Worker(url);
- return worker.onMessage.first.then((e) {
+ var test = expectAsync1((e) {
expect(e.data, 'WorkerMessage');
});
+ worker.onMessage.first.then(test);
});
});
}

Powered by Google App Engine
This is Rietveld 408576698