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

Improve test coverage of the to_liquid_value feature. #1674

Merged
merged 2 commits into from Jan 16, 2023

Conversation

dylanahsmith
Copy link
Contributor

I removed == method from the to_liquid_value test drops IntegerDrop and BooleanDrop, since they could cause tests to pass without to_liquid_value being called on the left side of the equality comparison.

I also added a few more assertions for to_liquid_value.

Since they could cause tests to pass without to_liquid_value being called
on the left side of the equality comparison.
@dylanahsmith dylanahsmith merged commit e804f36 into master Jan 16, 2023
@dylanahsmith dylanahsmith deleted the better-test-to-liquid-value branch January 16, 2023 15:44
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

2 participants