Added classes: - java.net.CookiePolicy - java.net.http.HttpTimeoutException - javax.net.ssl.HostnameVerifier - javax.net.ssl.HttpsURLConnection - javax.net.ssl.KeyManagerFactory - javax.net.ssl.SSLSession - javax.net.ssl.TrustManagerFactory - java.security.KeyStore - java.util.zip.Inflater - java.util.zip.ZipException
10 lines
291 B
Clojure
10 lines
291 B
Clojure
(ns spartan.spec-test
|
|
(:require [clojure.test :as t :refer [deftest is]]))
|
|
|
|
(time (require '[spartan.spec]))
|
|
(require '[clojure.spec.alpha :as s])
|
|
|
|
(deftest spec-test
|
|
(time (s/explain (s/cat :i int? :s string?) [1 :foo]))
|
|
(is (time (s/conform (s/cat :i int? :s string?) [1 "foo"]))))
|
|
|