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

Unified Diff: tests/html/isolates_test.dart

Issue 226903002: tests/html: removed usage of deprecated unittest features (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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/html/html.status ('k') | tests/html/js_interop_1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/isolates_test.dart
diff --git a/tests/html/isolates_test.dart b/tests/html/isolates_test.dart
index 86de2489e05142c763a06431046043ba9efb73ea..fa703d2f978b37aecada29679c5cb23c481a4748 100644
--- a/tests/html/isolates_test.dart
+++ b/tests/html/isolates_test.dart
@@ -54,14 +54,10 @@ main() {
final msg1 = 'foo';
final msg2 = 'bar';
sendReceive(port, msg1).then((response) {
- guardAsync(() {
- expect(response, equals(responseFor(msg1)));
- sendReceive(port, msg2).then((response) {
- guardAsync(() {
- expect(response, equals(responseFor(msg2)));
- callback();
- });
- });
+ expect(response, equals(responseFor(msg1)));
+ sendReceive(port, msg2).then((response) {
+ expect(response, equals(responseFor(msg2)));
+ callback();
});
});
});
« no previous file with comments | « tests/html/html.status ('k') | tests/html/js_interop_1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698