Skip to content

Conversation

@dylanahsmith
Copy link
Contributor

@dylanahsmith dylanahsmith commented Aug 31, 2022

Depends on Shopify/liquid-c#179 to fix the test error

Problem

liquid-c stopped patching Liquid::Expression.parse in Shopify/liquid-c#178 since it was too implicit, so integration tests using Liquid::Expression.parse weren't actually being shared across implementations.

Solution

Use assert_template_result and assert_match_syntax_error for integration testing, which will better enable us to share tests using it across liquid implementations.

Since liquid-c no longer monkey patches it, so we need a higher-level
tests to ensure they are shared across liquid implementations.
@dylanahsmith dylanahsmith requested a review from samdoiron August 31, 2022 22:01
@dylanahsmith dylanahsmith force-pushed the expression-integration-test branch from a6a46ab to 98c11e4 Compare September 1, 2022 21:35
@dylanahsmith dylanahsmith merged commit ca2d850 into master Sep 1, 2022
@dylanahsmith dylanahsmith deleted the expression-integration-test branch September 1, 2022 21:37
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