diff options
author | Urban Müller | 2011-11-14 18:52:12 +0000 |
---|---|---|
committer | Urban Müller | 2011-11-14 18:52:12 +0000 |
commit | 88321feeb17e271cbaa582dd2507f3591f65f5f7 (patch) | |
tree | 644948c7f10273fd0e708e327b36fba9566c2f4b /tests | |
parent | a1d1496cce437afe3ceb2f84fd3baac806ab6659 (diff) | |
download | itools-88321feeb17e271cbaa582dd2507f3591f65f5f7.tar.gz itools-88321feeb17e271cbaa582dd2507f3591f65f5f7.tar.bz2 itools-88321feeb17e271cbaa582dd2507f3591f65f5f7.zip |
faster it::replace, tests
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/it.t | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |