Fix assert_template_result tests not picking up Liquid::Environment.default.error_mode

The `rake test` command gave us the impression that we were running all the tests
on all the error modes, that was false.
This commit is contained in:
Charles-P. Clermont
2025-10-27 16:33:31 +01:00
committed by Guilherme Carreiro
parent 1be1e36a8d
commit 34ab3bdc8e
5 changed files with 15 additions and 7 deletions
+1
View File
@@ -78,6 +78,7 @@ module Liquid
# Parse remaining comma-separated expressions
while p.consume?(:comma)
break if p.look(:end_of_string)
@variables << maybe_dup_lookup(safe_parse_expression(p))
end