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

Side by Side Diff: tests/language/async_star_no_cancel2_test.dart

Issue 2986093002: Revert two Kernel changes that were causing test failures. (Closed)
Patch Set: Revert "Migrate language/async_backwards... ... language/async_star_take..." Created 3 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import "dart:async"; 5 import "dart:async";
6 import "package:expect/expect.dart"; 6 import "package:expect/expect.dart";
7 import "package:async_helper/async_helper.dart"; 7 import "package:async_helper/async_helper.dart";
8 8
9 var events = []; 9 var events = [];
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 asyncEnd(); 50 asyncEnd();
51 }); 51 });
52 52
53 events.add("invoke cancel"); 53 events.add("invoke cancel");
54 await subscription.cancel(); 54 await subscription.cancel();
55 // This line should never be reached, since the cancel-future doesn't 55 // This line should never be reached, since the cancel-future doesn't
56 // complete. 56 // complete.
57 cancelFinished = true; 57 cancelFinished = true;
58 }); 58 });
59 } 59 }
OLDNEW
« no previous file with comments | « tests/language/async_star_cancel_while_paused_test.dart ('k') | tests/language/async_star_no_cancel_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698