Permalink
Browse files

Comma wins a backslash.

  • Loading branch information...
1 parent 2614423 commit b679b93934a55563f18be4099d69b96c46820707 Dave Lambley committed Dec 14, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 t/util.t
View
@@ -6,6 +6,7 @@ use warnings;
use Test::More;
use Net::LDAP::Util qw/ escape_dn_value /;
-is("foo", escape_dn_value("foo"), "simple, passthrough test");
+is(escape_dn_value("foo"), "foo", "simple, passthrough test");
+is(escape_dn_value("foo,bar"), 'foo\,bar', "with a comma");
done_testing();

0 comments on commit b679b93

Please sign in to comment.