 -------------------------
 Detected 1 error
 "
-           (until-unsuccessful #(expound/expound-str :fspec-ret-test/return-map
-                                                     (fn [] {})
-                                                     {:print-specs? false}))))))
+             (until-unsuccessful #(expound/expound-str :fspec-ret-test/return-map
+                                                       (fn [] {})
+                                                       {:print-specs? false}))))))
 
 (s/def :fspec-fn-test/minus (s/fspec
                              :args (s/cat :x int? :y int?)


;; FIXME: conformers are pretty advanced, I'm OK if they don't work in spartan.spec yet
#_(deftest conformers-test
  ;; Example from http://cjohansen.no/a-unified-specification/
  (binding [s/*explain-out* (expound/custom-printer {:print-specs? false})
            *print-namespace-maps* false]
    (testing "conform string to int"
      (is (string?
           (s/explain-str :conformers-test/number "123a"))))
    ;; Example from https://github.com/bhb/expound/issues/15#issuecomment-326838879
    (testing "conform maps"
      (is (string? (s/explain-str :conformers-test/query {})))
      (is (= "-- Spec failed --------------------

Part of the value



-------------------------
Detected 1 error\n"
             (until-unsuccessful #(expound/expound-str (s/coll-of :fspec-test/div) [my-div]))))))


(s/def :fspec-ret-test/my-int pos-int?)
