Skip to content
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

Make tests less fragile #792

Merged
merged 1 commit into from Dec 13, 2022
Merged

Conversation

goderbauer
Copy link
Contributor

In flutter/flutter#116924 Flutter is changing the shape of the root of the widget tree, which caused some of the provider tests run as part of the "Flutter Customer Test Registry" [1] to fail. These tests were making some assumptions about the root of the widget tree. This PR refactors those tests to remove that assumption, which wasn't necessary to test the specified functionality.

[1] https://github.com/flutter/tests/blob/main/registry/provider.test

@rrousselGit
Copy link
Owner

Lgtm! Thanks for making the fix 😊

@rrousselGit rrousselGit merged commit 1b3374c into rrousselGit:master Dec 13, 2022
@goderbauer goderbauer deleted the testFix branch December 13, 2022 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants