diff --git a/tests/Liquid/StandardFiltersTest.php b/tests/Liquid/StandardFiltersTest.php index 729266b..b8efb7a 100644 --- a/tests/Liquid/StandardFiltersTest.php +++ b/tests/Liquid/StandardFiltersTest.php @@ -876,10 +876,15 @@ public function testSplit() 'two-one-three', array('two', 'one', 'three'), ), + array( + '12301230123', + array('123', '123', '123'), + '0' + ), ); foreach ($data as $item) { - $this->assertEquals($item[1], StandardFilters::split($item[0], '-')); + $this->assertEquals($item[1], StandardFilters::split($item[0], $item[2] ?? '-')); } }