mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
Cast input to string before spliting
This commit is contained in:
@@ -106,6 +106,7 @@ class StandardFiltersTest < Minitest::Test
|
||||
assert_equal ['A?Z'], @filters.split('A?Z', '~')
|
||||
# Regexp works although Liquid does not support.
|
||||
assert_equal ['A','Z'], @filters.split('AxZ', /x/)
|
||||
assert_equal [], @filters.split(nil, ' ')
|
||||
end
|
||||
|
||||
def test_escape
|
||||
|
||||
Reference in New Issue
Block a user