test/test_adapter.rb in activeldap-1.2.2 vs test/test_adapter.rb in activeldap-1.2.3
- old
+ new
@@ -35,9 +35,10 @@
assert_parse_filter("(uid=Alice\\28\\29Bob)", {:uid => "Alice()Bob"})
assert_parse_filter("(uid=Alice*Bob)", {:uid => "Alice*Bob"})
assert_parse_filter("(uid=Alice\\2ABob)", {:uid => "Alice**Bob"})
assert_parse_filter("(uid=Alice\\2A*\\5CBob)", {:uid => "Alice***\\Bob"})
assert_parse_filter("(uid=Alice\\5C\\2A*Bob)", {:uid => "Alice\\***Bob"})
+ assert_parse_filter("(uid=Alice\\3ABob)", {:uid => "Alice:Bob"})
end
def test_empty_filter
assert_parse_filter(nil, nil)
assert_parse_filter(nil, "")