Turn Dart 2 mode by default. (#15565)
This commit is contained in:
committed by
GitHub
parent
c663e3367d
commit
71b2cfb2a0
@@ -223,7 +223,7 @@ StringBuffer bar = StringBuffer('baz');
|
||||
try {
|
||||
await runCommand(
|
||||
command: new AnalyzeCommand(workingDirectory: fs.directory(tempDir)),
|
||||
arguments: <String>['analyze'],
|
||||
arguments: <String>['analyze', '--no-preview-dart-2'],
|
||||
statusTextContains: <String>['1 issue found.'],
|
||||
toolExit: true,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user