Browse files

t/07filtermatch.t: use core module Text::Soundex

Instead of String::Approx, use the core module Text::Soundex;
adapt tests accordingly.

Note: String::Approx and Text::Soundex are not compatible in the way
that they produce the same matches.
  • Loading branch information...
1 parent bece0e3 commit d0698fa7436198bc401894f66804a00049f66aaa @marschap marschap committed Nov 23, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 t/07filtermatch.t
@@ -4,7 +4,7 @@ use Test::More;
use Net::LDAP::Entry;
use Net::LDAP::Filter;
-use Net::LDAP::FilterMatch qw(String::Approx);
+use Net::LDAP::FilterMatch qw(Text::Soundex);
# Each line consists of an OPCODE-LIST and a DN,
# where
@@ -160,9 +160,9 @@ yes (cn~=jonothan doe)
yes (cn~=jonathan do)
yes (cn~=john doe)
yes (cn~=jon doe)
-no (cn~=jomatan doe)
-no (cn~=jonatan oe)
-no (cn~=jon dee)
+yes (cn~=jomatan doe)
+yes (cn~=jonatan oe)
+yes (cn~=jon dee)
## extensible match
yes (cn:dn:=John Doe)

0 comments on commit d0698fa

Please sign in to comment.