This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns scratch.ns | |
(:require | |
[clojure.spec.alpha :as s])) | |
(s/def ::foo string?) | |
(s/def ::bar string?) | |
(s/def ::baz string?) | |
(s/def ::yolo (s/keys :req-un [::foo ::bar] | |
:opt-un [::baz])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[diff "clj"] | |
xfuncname = "^(\\((def|ns)([^\\[])*).*$" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns kafka.test-helpers | |
"Here, we define a simpler version of jackdaw's test-machine | |
Tries to capture the two essential features of jackdaw via | |
a simple functional interface rather than having to learn a | |
whole new data format to write tests. | |
See `journal`/`with-journal` and `wait-for` for the main | |
entrypoints to this ns. |
OlderNewer