Skip to content

Commit a558529

Browse files
committed
Use strict2 for SelfDrop strict variable specs
1 parent d049182 commit a558529

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

specs/liquid_ruby/bare_bracket_self.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,15 +395,15 @@
395395
template: "{{ self.x }}"
396396
environment:
397397
x: 42
398-
error_mode: strict
398+
error_mode: strict2
399399
expected: "42"
400400
hint: |
401401
Strict variables still allow SelfDrop lookups for keys that are
402402
defined in the current context.
403403
404404
- name: self_with_strict_variables_returns_empty_for_undefined_var
405405
template: "{{ self.x }}"
406-
error_mode: strict
406+
error_mode: strict2
407407
expected: ""
408408
hint: |
409409
Missing keys through SelfDrop return nil and render empty, even

0 commit comments

Comments
 (0)