-
Notifications
You must be signed in to change notification settings - Fork 29.8k
[Swift Package Manager] Test removing the last Flutter plugin #153519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Swift Package Manager] Test removing the last Flutter plugin #153519
Conversation
e62421e to
0743da7
Compare
packages/flutter_tools/test/integration.shard/swift_package_manager_test.dart
Show resolved
Hide resolved
| expect(generatedManifestFile.existsSync(), isTrue); | ||
|
|
||
| generatedManifest = generatedManifestFile.readAsStringSync(); | ||
| const String emptyDependencies = 'dependencies: [\n \n ],\n'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't use the multi-line string syntax as code editors often aggressively trim trailing whitespace on save, which breaks the test.
jmagman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for adding this test!
flutter/flutter@bced008...a0c0453 2024-08-16 nate.w5687@gmail.com Style Guide updates (flutter/flutter#152525) 2024-08-16 engine-flutter-autoroll@skia.org Roll Packages from 86d15a6 to 2c37fb0 (5 revisions) (flutter/flutter#153571) 2024-08-16 zanderso@users.noreply.github.com Move Android API level 35 emulator tests to staging (flutter/flutter#153568) 2024-08-16 engine-flutter-autoroll@skia.org Roll Flutter Engine from a8fefc81188e to d5bf3afc601f (2 revisions) (flutter/flutter#153565) 2024-08-16 737941+loic-sharma@users.noreply.github.com [Swift Package Manager] Test removing the last Flutter plugin (flutter/flutter#153519) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC rmistry@google.com,stuartmorgan@google.com,tarrinneal@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…r#153519) The Flutter tool has a bug where removing the last Flutter plugin does not correctly update the CocoaPods integration. This adds a test to ensure that the generated Swift package is properly updated when the last Flutter plugin is removed. See: flutter#11819 (comment)
…r#153519) The Flutter tool has a bug where removing the last Flutter plugin does not correctly update the CocoaPods integration. This adds a test to ensure that the generated Swift package is properly updated when the last Flutter plugin is removed. See: flutter#11819 (comment)
The Flutter tool has a bug where removing the last Flutter plugin does not correctly update the CocoaPods integration.
This adds a test to ensure that the generated Swift package is properly updated when the last Flutter plugin is removed.
See: #11819 (comment)
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.