summaryrefslogtreecommitdiff
path: root/tests/it.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/it.t')
-rwxr-xr-xtests/it.t22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/it.t b/tests/it.t
index 02f1f9a..10c4d0e 100755
--- a/tests/it.t
+++ b/tests/it.t
@@ -58,25 +58,25 @@ match(
match(
'\bblah\b', 'ablahc',
- false,
+ null,
'don\'t match \b at word chars'
);
match(
'\bblah\b', 'Üblahä',
- false,
+ null,
'don\'t match \b at umlaute'
);
match(
'\Bblah\B', ' blah ',
- false,
+ null,
'don\'t match \B at spaces'
);
match(
'\Bblah\B', 'blah',
- false,
+ null,
'don\'t match \B at end of string'
);
@@ -112,7 +112,7 @@ match(
match(
'\ba', 'äa',
- '',
+ null,
'\b must know umlauts'
);
@@ -133,19 +133,19 @@ $escapedwordregex = preg_replace('|[\\\\/]|', '', $escapedwordregex);
match(
'\\\\w+', $escapedwordregex,
- false,
+ null,
'don\'t parse \w in \\\\w at beginning (no match)'
);
match(
'aaa\\\\w+', 'aaa' . $escapedwordregex,
- false,
+ null,
'don\'t parse \w in \\\\w after chars (no match)'
);
match(
'\\\\\\\\w+', '\\' . $escapedwordregex,
- false,
+ null,
'don\'t parse \w in \\\\\\\w (no match)'
);
@@ -157,7 +157,7 @@ match(
match(
'[\w]+', '[[[]]]---',
- false,
+ null,
'replace \w in [\w] correctly (no match)'
);
@@ -169,7 +169,7 @@ match(
match(
'[\\\\w]+', ' blabergna ',
- false,
+ null,
'don\'t parse \w in [\\\\w] (no match)'
);
@@ -239,7 +239,7 @@ match(
match(
'abc', "aBc",
- false,
+ null,
"set case sensitivity by parameter",
array('casesensitive' => 1)
);