mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-20 11:20:41 -07:00
Sort array in test
This commit is contained in:
@@ -14,7 +14,7 @@ class TagTest < Minitest::Test
|
|||||||
|
|
||||||
def test_all_tags_are_registered
|
def test_all_tags_are_registered
|
||||||
tags = Template.tags.map { |key, _tag| key }
|
tags = Template.tags.map { |key, _tag| key }
|
||||||
expected_tags = %w(tablerow echo if break for assign ifchanged case include continue capture decrement unless increment comment raw render cycle)
|
expected_tags = %w(assign break capture case comment continue cycle decrement echo for if ifchanged include increment raw render tablerow unless)
|
||||||
assert_equal(expected_tags, tags)
|
assert_equal(expected_tags, tags.sort)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user