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

Unified Diff: test/strong_mode_test.dart

Issue 1412293005: Defer to engine for option-aware context config. (Closed) Base URL: https://github.com/dart-lang/analyzer_cli.git@master
Patch Set: 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 | « test/driver_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/strong_mode_test.dart
diff --git a/test/strong_mode_test.dart b/test/strong_mode_test.dart
index b915318cc690c1448b17c0f47e2b06f20030ecef..926452c620297ee847ee648be4fc40771867afc6 100644
--- a/test/strong_mode_test.dart
+++ b/test/strong_mode_test.dart
@@ -3,7 +3,6 @@
// BSD-style license that can be found in the LICENSE file.
@TestOn("vm")
-
library analyzer_cli.test.strong_mode;
import 'dart:io';
@@ -12,6 +11,7 @@ import 'package:analyzer_cli/src/driver.dart' show Driver, errorSink, outSink;
import 'package:path/path.dart' as path;
import 'package:test/test.dart';
+import 'driver_test.dart';
import 'utils.dart';
/// End-to-end test for --strong checking.
@@ -40,7 +40,7 @@ void main() {
test('produces stricter errors', () async {
var testPath = path.join(testDirectory, 'data/strong_example.dart');
- new Driver().start(['--strong', testPath]);
+ new Driver().start(['--options', emptyOptionsFile, '--strong', testPath]);
expect(exitCode, 3);
var stdout = outSink.toString();
« no previous file with comments | « test/driver_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698