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

Provide another assertion for to_liquid_value unless tag test #1672

Merged
merged 1 commit into from Jan 11, 2023

Conversation

dylanahsmith
Copy link
Contributor

Since the existing assertion would pass even if to_liquid_value isn't called on the BooleanDrop object, since it would be treated as truthy.

Since the original one would pass even if to_liquid_value isn't called on
the BooleanDrop object.
@mattdrose
Copy link

Nice—thanks for adding so quickly 🙏

@dylanahsmith dylanahsmith merged commit bf711a0 into master Jan 11, 2023
@dylanahsmith dylanahsmith deleted the improve-unless-to-liquid-value-test branch January 11, 2023 19:05
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