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

Extend golden tests to optionally cover augmentations. #67

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

davidmorgan
Copy link
Contributor

No description provided.

@davidmorgan davidmorgan force-pushed the more-goldens branch 2 times, most recently from 21448e7 to c04ed1d Compare September 10, 2024 12:42

expect(introspectionMacroOutput, introspectionGolden,
reason: updateGoldens
? null
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider maybe a message like --> Goldens will be updated, run again and test should pass

late File goldenFile;
late Map<String, Object?> golden;
Map<String, Object?>? macroOutput;
File? introspectionGoldenFile;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At some point we might want to try and share the logic for these tests

@davidmorgan davidmorgan merged commit e95d7db into dart-lang:main Sep 10, 2024
43 checks passed
@davidmorgan davidmorgan deleted the more-goldens branch September 10, 2024 15:47
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.

2 participants