Chromium Code Reviews

Unified Diff: tests/compiler/dart2js/js_backend_cps_ir.dart

Issue 1342213003: Add optional message to assert in Dart2js - continued (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add --assert-message flag Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: tests/compiler/dart2js/js_backend_cps_ir.dart
diff --git a/tests/compiler/dart2js/js_backend_cps_ir.dart b/tests/compiler/dart2js/js_backend_cps_ir.dart
index f1fd70ad15c384d0e803be736f2b0419482770f1..c2b05958d2fe66db35b352eee3fc71843f3c02f8 100644
--- a/tests/compiler/dart2js/js_backend_cps_ir.dart
+++ b/tests/compiler/dart2js/js_backend_cps_ir.dart
@@ -79,8 +79,9 @@ runTests(List<TestEntry> tests) {
Expect.fail('Expected:\n$expected\nbut found\n$found');
}
}
- } catch (e) {
+ } catch (e, st) {
print(e);
+ print(st);
Expect.fail('The following test failed to compile:\n'
'${formatTest(files)}');
}
« no previous file with comments | « tests/compiler/dart2js/backend_dart/dart_printer_test.dart ('k') | tests/compiler/dart2js/mock_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine