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

Unified Diff: lib/src/frontend/throws_matcher.dart

Issue 1379203002: Refactor groups to pipe them through to the runner. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 2 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 | « lib/src/backend/test.dart ('k') | lib/src/runner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/frontend/throws_matcher.dart
diff --git a/lib/src/frontend/throws_matcher.dart b/lib/src/frontend/throws_matcher.dart
index b1d65ebf335ca6929e6f47093b56c4f527393300..0b3a2659e7d38dcfc188f64b5993d7a302b11c71 100644
--- a/lib/src/frontend/throws_matcher.dart
+++ b/lib/src/frontend/throws_matcher.dart
@@ -61,7 +61,7 @@ class Throws extends Matcher {
var reason;
if (trace != null) {
var stackTrace = terseChain(trace,
- verbose: Invoker.current.metadata.verboseTrace);
+ verbose: Invoker.current.liveTest.test.metadata.verboseTrace);
stackTrace = " ${stackTrace.toString().replaceAll("\n", "\n ")}";
reason = "Actual exception trace:\n$stackTrace";
}
« no previous file with comments | « lib/src/backend/test.dart ('k') | lib/src/runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698