diff --git a/project.clj b/project.clj index d17dc21..7aca989 100644 --- a/project.clj +++ b/project.clj @@ -1,5 +1,5 @@ (defproject valip "0.2.0" :description "Functional validation library" :dependencies [[org.clojure/clojure "1.2.0"] - [commons-validator "1.3.1"] + [commons-validator "1.10.1"] [clj-time "0.3.0"]]) diff --git a/test/valip/test/predicates.clj b/test/valip/test/predicates.clj index 92e4d13..275951f 100644 --- a/test/valip/test/predicates.clj +++ b/test/valip/test/predicates.clj @@ -36,7 +36,7 @@ (deftest test-valid-email-domain? (is (valid-email-domain? "example@google.com")) - (is (not (valid-email-domain? "foo@example.com"))) + (is (not (valid-email-domain? "foo@notanmxdomain.com"))) (is (not (valid-email-domain? "foo@google.com.nospam"))) (is (thrown? AssertionError (valid-email-domain? "foo"))))