Skip to content

Commit

Permalink
skip expression caching with Expression1
Browse files Browse the repository at this point in the history
  • Loading branch information
ggmichaelgo committed Nov 26, 2024
1 parent 2ed68e8 commit 463231b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/integration/expression_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def test_quirky_negative_sign_expression_markup

def test_expression_cache
skip("Liquid-C does not support Expression caching") if defined?(Liquid::C) && Liquid::C.enabled
skip("Expression Caching is only available with Expression2") if Liquid::Expression != Liquid::Expression2

cache = LruRedux::Cache.new(10)
template = <<~LIQUID
Expand All @@ -78,6 +79,7 @@ def test_expression_cache

def test_disable_expression_cache
skip("Liquid-C does not support Expression caching") if defined?(Liquid::C) && Liquid::C.enabled
skip("Expression Caching is only available with Expression2") if Liquid::Expression != Liquid::Expression2

template = <<~LIQUID
{% assign x = 1 %}
Expand Down

0 comments on commit 463231b

Please sign in to comment.