8000 add some sorbet-runtime serialization tests by froydnj · Pull Request #4179 · sorbet/sorbet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add some sorbet-runtime serialization tests #4179

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

Merged
merged 7 commits into from
Apr 29, 2021

Conversation

froydnj
Copy link
Contributor
@froydnj froydnj commented Apr 27, 2021

Motivation

We weren't testing error cases very well, and we weren't testing set props at all.

(Some of the error cases for the sorbet-runtime generated serialization/deserialization code can theoretically be lumped together, but those cases have distinct handling in some changes we have.)

Test plan

See included automated tests.

@froydnj froydnj requested a review from a team as a code owner April 27, 2021 18:30
@froydnj froydnj requested review from aprocter-stripe and removed request for a team April 27, 2021 18:30
Copy link
Contributor
@aprocter-stripe aprocter-stripe left a comment

Choose a reason for hiding this comment

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

Looks good to me! Just a few clarifications/minor style things you may want to take a look at, but please feel free to merge with or without actioning them.

@froydnj froydnj merged commit f436aa8 into master Apr 29, 2021
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
0