Fix broken unit test

This commit is contained in:
Kijin Sung 2025-06-02 22:44:57 +09:00
parent e2af4512e0
commit e3f08ef322

View file

@ -75,7 +75,7 @@ class FunctionsTest extends \Codeception\Test\Unit
$this->assertEquals(array('foo', 'bar,baz'), explode_with_escape(',', 'foo,bar\\,baz'));
$this->assertEquals(array('foo', 'bar\\', 'baz'), explode_with_escape(',', 'foo,bar\\ , baz'));
$this->assertEquals(array('foo', 'bar,baz', 'rhymix'), explode_with_escape(',', 'foo,bar\\,baz,rhymix'));
$this->assertEquals(array('foo', 'bar,baz'), explode_with_escape(',', 'foo,bar!,baz', null, '!'));
$this->assertEquals(array('foo', 'bar,baz'), explode_with_escape(',', 'foo,bar!,baz', 0, '!'));
}
public function testStartsEndsContains()