skip expression caching with Expression1

This commit is contained in:
Michael Go
2025-01-07 14:32:46 -04:00
parent 42d822bda9
commit d48708ae46
+2
View File
@@ -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 %}