mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
skip expression caching with Expression1
This commit is contained in:
@@ -57,6 +57,7 @@ class ExpressionTest < Minitest::Test
|
||||
|
||||
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
|
||||
@@ -78,6 +79,7 @@ class ExpressionTest < Minitest::Test
|
||||
|
||||
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 %}
|
||||
|
||||
Reference in New Issue
Block a user