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

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

Issue 99303004: Remove unused API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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
Index: dart/tests/compiler/dart2js/exit_code_test.dart
diff --git a/dart/tests/compiler/dart2js/exit_code_test.dart b/dart/tests/compiler/dart2js/exit_code_test.dart
index 68cfa7639798b14744714fc08c0a146b57d31f94..c74f6f549e7b69a67a672e9e0fa449339a0908e0 100644
--- a/dart/tests/compiler/dart2js/exit_code_test.dart
+++ b/dart/tests/compiler/dart2js/exit_code_test.dart
@@ -195,6 +195,10 @@ Future testExitCodes(String marker, Map<String,int> expectedExitCodes) {
}
void main() {
+ bool isCheckedMode = false;
+ assert(isCheckedMode = true);
+ Expect.isTrue(isCheckedMode, 'This test must be run in checked mode.');
+
const beforeRun = const {
'': 0,
'NoSuchMethodError': 253,

Powered by Google App Engine
This is Rietveld 408576698