diff options
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/it.t | 1 | 
1 files changed, 1 insertions, 0 deletions
| @@ -309,6 +309,7 @@ is(it::grep('ismatch', array('ismatch', 'isnomatch')), array('ismatch'),  'grep  is(it::grep('!', array('ismatch!', 'isnomatch')),      array('ismatch!'), '! in regex');  is(it::grep('lower|UPPER', array('lower', 'LOWER', 'upper', 'UPPER'), array('casesensitive' => 1)), array(0 => 'lower', 3 => 'UPPER'), 'set casesensitive');  is(it::grep('match', array('foo' => 'match', 'bar' => 'gna')), array('foo' => 'match'), 'with keys'); +is(it::grep('2', [0 => 1, 1 => 2, 2 => 3], ['invert' => true]), [0 => 1, 2 => 3]);  setlocale(LC_CTYPE, $oldlocale);  ini_set('default_charset', $oldcharset);	# end of tests that must run with specific charset |