Shopify / liquid

Liquid markup language. Safe, customer facing template language for flexible web apps.
https://shopify.github.io/liquid/
MIT License
11.13k stars 1.39k forks source link

Import Array and Hash tests, and make `== blank` match behaviour with AS #1807

Closed burke closed 3 months ago

burke commented 5 months ago

When ActiveSupport isn't loaded, [] == blank is false, but when it is loaded, it (correctly?) matches the behaviour of [] == empty.

I think it's fair to say the intended behaviour is for == blank to match the behaviour of when AS is loaded, so let's just special-case this.

We also import a bunch of Array and Hash tests here.