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

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

Issue 1314833003: Shared commandline flags. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 years, 3 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 | « tests/compiler/dart2js/analyze_only_test.dart ('k') | tests/compiler/dart2js/duplicate_library_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/bad_loop_test.dart
diff --git a/tests/compiler/dart2js/bad_loop_test.dart b/tests/compiler/dart2js/bad_loop_test.dart
index 82d8607f9202b0dd86a6ced5db8c02f94a680d9d..bd1053c70d8d14e68d8657bd2136589ca31c3305 100644
--- a/tests/compiler/dart2js/bad_loop_test.dart
+++ b/tests/compiler/dart2js/bad_loop_test.dart
@@ -8,6 +8,7 @@ import "package:async_helper/async_helper.dart";
import 'package:compiler/compiler.dart'
show Diagnostic;
+import 'package:compiler/src/commandline_options.dart';
import 'package:compiler/src/old_to_new_api.dart';
main() {
@@ -38,7 +39,7 @@ main() {
new LegacyCompilerDiagnostics(diagnosticHandler),
libraryRoot,
packageRoot,
- ['--analyze-only'],
+ [Flags.analyzeOnly],
{});
asyncTest(() => compiler.run(Uri.parse('memory:main.dart')).then((_) {
Expect.isTrue(compiler.compilationFailed);
« no previous file with comments | « tests/compiler/dart2js/analyze_only_test.dart ('k') | tests/compiler/dart2js/duplicate_library_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698