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

Unified Diff: tests/language/vm/causal_async_exception_stack_test.dart

Issue 2694013003: Add tests of line numbers to causal async stack tests (Closed)
Patch Set: rmacnak review Created 3 years, 10 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 | « runtime/observatory/tests/service/test_helper.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/vm/causal_async_exception_stack_test.dart
diff --git a/tests/language/vm/causal_async_exception_stack_test.dart b/tests/language/vm/causal_async_exception_stack_test.dart
index ed4147fd2760cd16265ec4ebd8e6776188db5c9f..d08ae9de5f29fe8cf8bc17dbfc9c0d82154c2b87 100644
--- a/tests/language/vm/causal_async_exception_stack_test.dart
+++ b/tests/language/vm/causal_async_exception_stack_test.dart
@@ -29,11 +29,11 @@ main() async {
await foo();
} catch (e, st) {
expect(st.toString(), stringContainsInOrder([
- 'thrower',
+ 'thrower', '.dart:8',
'<asynchronous suspension>',
- 'generator',
+ 'generator', '.dart:17',
'<asynchronous suspension>',
- 'foo',
+ 'foo', '.dart:21',
'<asynchronous suspension>',
'main',
]));
@@ -67,9 +67,9 @@ main() async {
await thrower();
} catch(e, st) {
expect(st.toString(), stringContainsInOrder([
- 'thrower',
+ 'thrower', '.dart:8',
'<asynchronous suspension>',
- 'main',
+ 'main', '.dart:67',
]));
}
}
« no previous file with comments | « runtime/observatory/tests/service/test_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698