Skip to content

Add SelfDrop parity specs#141

Open
karreiro wants to merge 1 commit into
mainfrom
self-drop-tests
Open

Add SelfDrop parity specs#141
karreiro wants to merge 1 commit into
mainfrom
self-drop-tests

Conversation

@karreiro
Copy link
Copy Markdown
Contributor

@karreiro karreiro commented Jun 2, 2026

Adds extra liquid-spec coverage for bare-bracket rejection and the new self drop behavior.

The specs cover bare bracket parse errors, self['key'] / self[key] as the dynamic lookup path, scope lookup and local shadowing, missing keys, nested lookups, loops, captures, render boundaries, static environment keys named self, counters named self, special names like size / first / last, equality, filters, and stringification.

--

CI will pass once Shopify/liquid#2091 gets merged.

@karreiro karreiro requested review from aswamy and ianks June 2, 2026 13:27
@karreiro karreiro changed the title Add SelfDrop parity specs Add SelfDrop parity specs Jun 2, 2026
Copy link
Copy Markdown
Contributor

@aswamy aswamy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few questions, but tests look good 👍

Comment thread specs/liquid_ruby/bare_bracket_self.yml
Comment thread specs/liquid_ruby/bare_bracket_self.yml Outdated
Comment thread specs/liquid_ruby/bare_bracket_self.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants