mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-17 01:40:42 -07:00
Remove to_liquid conversion from StandardFilters
This commit is contained in:
@@ -149,6 +149,8 @@ class DropsTest < Minitest::Test
|
||||
assert_equal(' carrot ', output)
|
||||
end
|
||||
|
||||
# This test succeed in the ruby implementation, but not in liquid-c
|
||||
# See Context#contextualize
|
||||
def test_context_drop_array_with_map
|
||||
output = Liquid::Template.parse(' {{ contexts | map: "bar" }} ').render!('contexts' => [ContextDrop.new, ContextDrop.new], 'bar' => "carrot")
|
||||
assert_equal(' carrotcarrot ', output)
|
||||
|
||||
Reference in New Issue
Block a user