From 0863d7677eb6ed82554847a31b9833066fe45c42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobi=20L=C3=BCtke?= Date: Wed, 8 Jul 2026 16:34:05 +0000 Subject: [PATCH] fix: update lax BooleanDrop expected value to match StandardBooleanDrop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit liquid-spec 2.0.0 loads standard_drops.rb after liquid_ruby.rb, so instantiate:BooleanDrop now creates StandardBooleanDrop (to_s → 'true') not the legacy BooleanDrop (to_s → 'Yay'). The non-lax liquid_ruby/variable_type_filters.yml was already updated to expect 'true', but the lax version was missed. Reference liquid also renders 'true', confirming 'Yay' is stale. --- specs/liquid_ruby_lax/variable_type_filters.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/liquid_ruby_lax/variable_type_filters.yml b/specs/liquid_ruby_lax/variable_type_filters.yml index 3a6e419..f626f75 100644 --- a/specs/liquid_ruby_lax/variable_type_filters.yml +++ b/specs/liquid_ruby_lax/variable_type_filters.yml @@ -500,7 +500,7 @@ specs: - name: lax_filter_booleandrop_first_last_size features: [drops] complexity: 520 - hint: BooleanDrop wraps a boolean value, to_s returns Yay/Nay + hint: BooleanDrop wraps a boolean value, to_s returns true/false template: | drop value:{{- d }} drop, first:{{- d | first }} @@ -511,7 +511,7 @@ specs: instantiate:BooleanDrop: value: true expected: | - drop value:Yay + drop value:true drop, first: drop, last: drop, size:0