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

Implement expansion tests #1662

Merged
merged 4 commits into from Nov 25, 2019
Merged

Implement expansion tests #1662

merged 4 commits into from Nov 25, 2019

Conversation

eupn
Copy link
Contributor

@eupn eupn commented Oct 31, 2019

Related to #1117.

This PR implements serde's #[derive(Serialize, Deserialize)] macros expansion tests using macrotest.

To pass CI it requires cargo expand and rustfmt to be available.

Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

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

Thanks!

test_suite/tests/expand/derive/enum/de_enum.rs Outdated Show resolved Hide resolved
test_suite/tests/expand/derive/enum/de_enum.expanded.rs Outdated Show resolved Hide resolved
test_suite/tests/expandtest.rs Show resolved Hide resolved
@eupn eupn requested a review from dtolnay November 4, 2019 06:16
@eupn
Copy link
Contributor Author

eupn commented Nov 10, 2019

@dtolnay ping

Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

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

Thanks!

@dtolnay dtolnay merged commit bcaebdb into serde-rs:master Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants