Roll pub packages (#156925)
This PR was generated by `flutter update-packages --force-upgrade`.
This commit is contained in:
committed by
GitHub
parent
32cb866d3a
commit
0549bd8888
@@ -179,7 +179,7 @@ void main() {
|
||||
'build',
|
||||
'web',
|
||||
'--no-pub', '--no-web-resources-cdn', '--dart-define=foo=a', '--dart2js-optimization=O0']),
|
||||
throwsUsageException(message: '"O0" is not an allowed value for option "dart2js-optimization"'),
|
||||
throwsUsageException(message: '"O0" is not an allowed value for option "--dart2js-optimization"'),
|
||||
);
|
||||
|
||||
final Directory buildDir = fileSystem.directory(fileSystem.path.join('build', 'web'));
|
||||
|
||||
@@ -216,7 +216,7 @@ void main() {
|
||||
],
|
||||
),
|
||||
throwsUsageException(
|
||||
message: '"package_ffi" is not an allowed value for option "template"',
|
||||
message: '"package_ffi" is not an allowed value for option "--template"',
|
||||
),
|
||||
);
|
||||
}, overrides: <Type, Generator>{
|
||||
|
||||
@@ -234,7 +234,7 @@ void main() {
|
||||
], workingDirectory: helloWorld);
|
||||
|
||||
expect(result.exitCode, isNot(0));
|
||||
expect(result.stderr, contains('Could not find an option named "release"'));
|
||||
expect(result.stderr, contains('Could not find an option named "--release"'));
|
||||
});
|
||||
|
||||
testWithoutContext('flutter can report crashes', () async {
|
||||
|
||||
@@ -132,7 +132,7 @@ void main() {
|
||||
final List<String> logMessages = logEvents.map((Event l) => (l.body! as Map<String, Object?>)['message']! as String).toList();
|
||||
expect(
|
||||
logMessages,
|
||||
contains(startsWith('<== [Flutter] [stderr] Could not find an option named "not-a-valid-flag"')),
|
||||
contains(startsWith('<== [Flutter] [stderr] Could not find an option named "--not-a-valid-flag"')),
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user