-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Fix flutter test in workspace
#153919
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
Fix flutter test in workspace
#153919
Conversation
| // workspaces. | ||
| final int build = await assetBundle.build( | ||
| packageConfigPath: '.dart_tool/package_config.json', | ||
| packageConfigPath: packageConfigPath, |
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.
I'm sorry - you pointed this mistake out already in the original review.
I think I confused the context somehow, and thought this was a util for the flutter_tools tests, not the test command itself.
andrewkolos
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. Maybe other references to .dart_tool/package_config.json should be checked out as well. I see a few in packages/flutter_tools/lib/src/build_system/targets/web.dart and packages/flutter_tools/lib/src/isolated/native_assets/native_assets.dart.
Yeah native_assets was broken as well. I think I did a few extra fixes. |
Follow-up to flutter#153754.
Follow-up to #153754.