summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2015-08-10 14:19:46 +0200
committerUrban Müller2015-08-10 14:19:46 +0200
commit6fb8dda1d303697e07e61483fbb3ca8eef038d8f (patch)
treeb497f4502be0920e77acf70ce68845a7cde182cb
parent534899acf620b83936a8e445c806cc481d789050 (diff)
downloaditools-6fb8dda1d303697e07e61483fbb3ca8eef038d8f.tar.gz
itools-6fb8dda1d303697e07e61483fbb3ca8eef038d8f.tar.bz2
itools-6fb8dda1d303697e07e61483fbb3ca8eef038d8f.zip
php 5.3 compatibility required now?!
-rwxr-xr-xtests/it.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/it.t b/tests/it.t
index 57c8be1..02f1f9a 100755
--- a/tests/it.t
+++ b/tests/it.t
@@ -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);