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

Simplify TestCanonicalize #589

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Conversation

matheusd
Copy link
Contributor

This changes TestCanonicalize to use a table-driven approach and
individual t.Run() calls for each subtest.

This makes it easier to execute individual (sub-)tests and to trace any
errors. It also makes the test code easier to understand.

This changes TestCanonicalize to use a table-driven approach and
individual t.Run() calls for each subtest.

This makes it easier to execute individual (sub-)tests and to trace any
errors. It also makes the test code easier to understand.
Copy link
Collaborator

@lthibault lthibault left a comment

Choose a reason for hiding this comment

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

Yeah, way better! Thank you!

@lthibault lthibault merged commit a61e923 into capnproto:main Aug 30, 2024
4 checks passed
@matheusd matheusd deleted the test-cannonicalize branch August 30, 2024 17:41
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