1
0
mirror of https://github.com/danielstjules/Stringy.git synced 2025-08-21 20:35:30 +02:00

update array syntax

This commit is contained in:
Thomas Müller
2016-12-23 21:28:39 +01:00
parent 0491ed8db8
commit 9b6404d5c3

View File

@@ -860,17 +860,17 @@ class StringyTestCase extends PHPUnit_Framework_TestCase
public function startsWithProviderAny()
{
return array(
array(true, 'foo bars', ['foo bar']),
array(true, 'FOO bars', ['foo bar'], false),
array(true, 'FOO bars', ['foo bar', 'foo BAR'], false),
array(true, 'FÒÔ bàřs', ['foo bar', 'fòô bàř'], false, 'UTF-8'),
array(true, 'fòô bàřs', ['foo bar', 'fòô BÀŘ'], false, 'UTF-8'),
array(false, 'foo bar', ['bar']),
array(false, 'foo bar', ['foo bars']),
array(false, 'FOO bar', ['foo bars']),
array(false, 'FOO bars', ['foo BAR']),
array(false, 'FÒÔ bàřs', ['fòô bàř'], true, 'UTF-8'),
array(false, 'fòô bàřs', ['fòô BÀŘ'], true, 'UTF-8'),
array(true, 'foo bars', array('foo bar')),
array(true, 'FOO bars', array('foo bar'), false),
array(true, 'FOO bars', array('foo bar', 'foo BAR'), false),
array(true, 'FÒÔ bàřs', array('foo bar', 'fòô bàř'), false, 'UTF-8'),
array(true, 'fòô bàřs', array('foo bar', 'fòô BÀŘ'), false, 'UTF-8'),
array(false, 'foo bar', array('bar')),
array(false, 'foo bar', array('foo bars')),
array(false, 'FOO bar', array('foo bars')),
array(false, 'FOO bars', array('foo BAR')),
array(false, 'FÒÔ bàřs', array('fòô bàř'), true, 'UTF-8'),
array(false, 'fòô bàřs', array('fòô BÀŘ'), true, 'UTF-8'),
);
}