From 3aa4c1dfe55bcfe069c5ab8eef1c5be79e566fe9 Mon Sep 17 00:00:00 2001 From: Dean Chapman Date: Fri, 8 May 2026 07:55:39 +0100 Subject: [PATCH 1/2] Fix failing test with domain that doesn't resolve MX record --- test/valip/test/predicates.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")))) From c13de948aeb8fea797836c1aad81f722eb7ea79e Mon Sep 17 00:00:00 2001 From: Dean Chapman Date: Fri, 8 May 2026 07:56:45 +0100 Subject: [PATCH 2/2] Upgrade commons-validator --- project.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]])