summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/it.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/it.t b/tests/it.t
index 721fbf7..7b95b7e 100755
--- a/tests/it.t
+++ b/tests/it.t
@@ -210,6 +210,10 @@ is(
"test all=>1,pattern_order=>1"
);
+is(it::replace(array('\w' => "x"), "oö"), "xx");
+is(it::replace(array('\w' => "x", '#' => "!"), "#ö"), "!x");
+is(it::replace(array('#' => "!", '\w' => "x"), "#ö"), "!x");
+is(it::replace(array('ö' => "x"), "Ö"), "x");
# it::filter_keys tests