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

Unified Diff: tests/compiler/dart2js/kernel/assert_test.dart

Issue 2997413002: Support --use-kernel in memory_compiler (Closed)
Patch Set: Remove hack in source_loader Created 3 years, 4 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
Index: tests/compiler/dart2js/kernel/assert_test.dart
diff --git a/tests/compiler/dart2js/kernel/assert_test.dart b/tests/compiler/dart2js/kernel/assert_test.dart
index 700bf426effce8ad7ebbcb81d262a7193fca38c4..3f68b36643860ff53bf7d303ac22dc9575794ec1 100644
--- a/tests/compiler/dart2js/kernel/assert_test.dart
+++ b/tests/compiler/dart2js/kernel/assert_test.dart
@@ -14,7 +14,9 @@ bool foo() => 2 + 2 == 4;
main() {
assert(foo());
}''';
- return check(code, extraOptions: const <String>[Flags.enableCheckedMode]);
+ return check(code,
+ extraOptions: const <String>[Flags.enableCheckedMode],
+ useKernelInSsa: true);
});
test('assert with message', () {
@@ -23,9 +25,11 @@ bool foo() => 2 + 2 == 4;
main() {
assert(foo(), "foo failed");
}''';
- return check(code, extraOptions: const <String>[
- Flags.enableCheckedMode,
- Flags.enableAssertMessage,
- ]);
+ return check(code,
+ extraOptions: const <String>[
+ Flags.enableCheckedMode,
+ Flags.enableAssertMessage,
+ ],
+ useKernelInSsa: true);
});
}
« no previous file with comments | « tests/compiler/dart2js/js_spec_optimization_test.dart ('k') | tests/compiler/dart2js/kernel/class_hierarchy_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698