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

Side by Side Diff: tests/language/vm/causal_async_exception_stack_test.dart

Issue 2732433002: Update tests/language/vm/causal_async_exception_stack_test (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 'package:unittest/unittest.dart'; 5 import 'package:unittest/unittest.dart';
6 6
7 thrower() async { 7 thrower() async {
8 throw 'oops'; 8 throw 'oops';
9 } 9 }
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 ])); 63 ]));
64 } 64 }
65 65
66 // Test for correct linkage. 66 // Test for correct linkage.
67 try { 67 try {
68 await thrower(); 68 await thrower();
69 } catch(e, st) { 69 } catch(e, st) {
70 expect(st.toString(), stringContainsInOrder([ 70 expect(st.toString(), stringContainsInOrder([
71 'thrower', '.dart:8', 71 'thrower', '.dart:8',
72 '<asynchronous suspension>', 72 '<asynchronous suspension>',
73 'main', '.dart:67', 73 'main', '.dart:68',
74 ])); 74 ]));
75 } 75 }
76 } 76 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698