Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit d0698fa7436198bc401894f66804a00049f66aaa 1 parent bece0e3
@marschap marschap authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 t/07filtermatch.t
View
8 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)
Please sign in to comment.
Something went wrong with that request. Please try again.