Automated tests 使用小黄瓜和颤振驱动程序调试自动测试代码时出现编译器错误(消息)

Automated tests 使用小黄瓜和颤振驱动程序调试自动测试代码时出现编译器错误(消息),automated-tests,flutter-test,Automated Tests,Flutter Test,使用命令时:dart test\u driver/app\u test.dart 我得到以下错误: file:///D:/jp/flutter_windows_v1.4.9-dev/flatter/.pub cache/hosted/pub.dartlang.org/gherkin-1.1.1/lib/src/gherkin/parameters/string_parameter.dart:5:46: 错误:没有名为“dotAll”的命名参数。 :super(名称,RegExp(“\”[“\”]

使用命令时:
dart test\u driver/app\u test.dart
我得到以下错误:

file:///D:/jp/flutter_windows_v1.4.9-dev/flatter/.pub cache/hosted/pub.dartlang.org/gherkin-1.1.1/lib/src/gherkin/parameters/string_parameter.dart:5:46: 错误:没有名为“dotAll”的命名参数。 :super(名称,RegExp(“\”[“\”]),dotAll:true), ^^^^^^达特朗酒店-sdk:///runtime/lib/regexp_patch.dart:10:11: 背景: 找到此候选项,但参数不匹配。工厂 RegExp(字符串源代码


检查您的省道是否不比颤振使用的省道旧

dart --version
如果它刚刚运行:

brew upgrade dart