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(); |
}); |
}); |
}); |