diff --git a/test/domain_test.rb b/test/domain_test.rb
index <HASH>..<HASH> 100644
--- a/test/domain_test.rb
+++ b/test/domain_test.rb
@@ -95,6 +95,10 @@ module GitHubLdapDomainTestCases
     assert_equal 'uid=calavera,dc=github,dc=com', @domain.user?('calavera').dn
   end
 
+  def test_user_wildcards_are_filtered
+    assert_equal !@domain.user?('cal*'), 'Expected uid `cal*` to not complete'
+  end
+
   def test_user_does_not_exist
     assert !@domain.user?('foobar'), 'Expected uid `foobar` to not exist.'
   end
Add a test to ensure this doesn't break again.