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

Fix #110 - validate patch document during creation #116

Merged
merged 4 commits into from Nov 20, 2020

Conversation

dave-shawley
Copy link
Contributor

This PR verifies that the operations are valid during patch creation. I also added tests for the structure of each operation type.

@coveralls
Copy link

coveralls commented Nov 17, 2020

Coverage Status

Coverage increased (+0.8%) to 65.846% when pulling 3bb3351 on dave-shawley:validate-patch-doc into 4fe5c2c on stefankoegl:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.9%) to 65.953% when pulling b44e7a2 on dave-shawley:validate-patch-doc into 4fe5c2c on stefankoegl:master.

Comment on lines +225 to +227
for op in self.patch:
self._get_operation(op)

Copy link
Owner

Choose a reason for hiding this comment

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

Could you add a comment here? It's obvious what it does in the context of the pull request, but without that context it will not be so obvious anymore.

@stefankoegl stefankoegl merged commit 24b5e86 into stefankoegl:master Nov 20, 2020
@stefankoegl
Copy link
Owner

Merged, thanks :)

@dave-shawley dave-shawley deleted the validate-patch-doc branch November 20, 2020 12:27
@stefankoegl
Copy link
Owner

I have just released v1.27 which inlcudes this PR. Thanks for the contribution!

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

3 participants