diff options
author | Urban Müller | 2015-08-10 14:19:46 +0200 |
---|---|---|
committer | Urban Müller | 2015-08-10 14:19:46 +0200 |
commit | 6fb8dda1d303697e07e61483fbb3ca8eef038d8f (patch) | |
tree | b497f4502be0920e77acf70ce68845a7cde182cb | |
parent | 534899acf620b83936a8e445c806cc481d789050 (diff) | |
download | itools-6fb8dda1d303697e07e61483fbb3ca8eef038d8f.tar.gz itools-6fb8dda1d303697e07e61483fbb3ca8eef038d8f.tar.bz2 itools-6fb8dda1d303697e07e61483fbb3ca8eef038d8f.zip |
php 5.3 compatibility required now?!
-rwxr-xr-x | tests/it.t | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -241,7 +241,7 @@ match( 'abc', "aBc", false, "set case sensitivity by parameter", - array('casesensitive' => 1), + array('casesensitive' => 1) ); match( @@ -309,7 +309,7 @@ is(it::replace(array('a' => "b", 'b' => "c"), "a"), "c"); is(it::grep('ismatch', array('ismatch', 'isnomatch')), array('ismatch'), 'grep with simple regex'); is(it::grep('!', array('ismatch!', 'isnomatch')), array('ismatch!'), '! in regex'); -is(it::grep('lower|UPPER', array('lower', 'LOWER', 'upper', 'UPPER'), 'casesensitive' => 1), array(0 => 'lower', 3 => 'UPPER'), 'set casesensitive'); +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'); setlocale(LC_CTYPE, $oldlocale); |