Roll pub packages (#156925)

This PR was generated by `flutter update-packages --force-upgrade`.
This commit is contained in:
flutter-pub-roller-bot
2024-10-18 13:17:18 -07:00
committed by GitHub
parent 32cb866d3a
commit 0549bd8888
57 changed files with 247 additions and 247 deletions

View File

@@ -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'));

View File

@@ -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>{

View File

@@ -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 {

View File

@@ -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"')),
);
});