From 96f8974e63c9ae718248f69c322b9e69e20259b7 Mon Sep 17 00:00:00 2001 From: Max Penet Date: Thu, 25 Jan 2024 09:10:43 +0100 Subject: [PATCH] fixup! make closed a namespaced opt like the others --- test/exoscale/coax_test.cljc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/exoscale/coax_test.cljc b/test/exoscale/coax_test.cljc index b63e1bd..158b721 100644 --- a/test/exoscale/coax_test.cljc +++ b/test/exoscale/coax_test.cljc @@ -380,13 +380,13 @@ (s/def ::test-closed-keys (s/keys :req [::bar ::foo])) (is (= (sc/coerce ::test-closed-keys {::foo 1 ::bar 2 ::zzz 3}) {::foo 1 ::bar "2" ::zzz "3"})) - (is (= (sc/coerce ::test-closed-keys {::foo 1 ::bar 2 ::baz 3} {:closed true}) + (is (= (sc/coerce ::test-closed-keys {::foo 1 ::bar 2 ::baz 3} {:exoscale.coax/closed true}) {::foo 1 ::bar "2"})) (s/def ::test-closed-keys2 (s/keys :req-un [::bar ::foo])) (is (= (sc/coerce ::test-closed-keys2 {:foo 1 :bar 2 :zzz 3}) {:foo 1 :bar "2" :zzz 3})) - (is (= (sc/coerce ::test-closed-keys2 {:foo 1 :bar 2 :baz 3} {:closed true}) + (is (= (sc/coerce ::test-closed-keys2 {:foo 1 :bar 2 :baz 3} {:exoscale.coax/closed true}) {:foo 1 :bar "2"}))) (s/def ::tuple (s/tuple ::foo ::bar int?))