Skip to content

Commit

Permalink
Merge pull request #253 from dehli/patch-1
Browse files Browse the repository at this point in the history
Fixes ds/spec docstring
  • Loading branch information
ikitommi committed Jan 29, 2021
2 parents 77f36da + 7a70d1f commit d05e6e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spec_tools/data_spec.cljc
Expand Up @@ -174,8 +174,8 @@
| -----------------|----------------
| `:spec` | The wrapped data-spec.
| `:name` | Qualified root spec name - used to generate unique names for sub-specs.
| `:keys-spec` | Function to wrap not-wrapped keys, e.g. [[opt]] to make keys optional by default.
| `:keys-default` | Function to generate the keys-specs, default [[keys-specs]]."
| `:keys-spec` | Function to generate the keys-specs, default [[keys-specs]].
| `:keys-default` | Function to wrap not-wrapped keys, e.g. [[opt]] to make keys optional by default."
([{data :spec name :name nested? ::nested? :as opts}]
(assert spec "missing :spec predicate in data-spec")
(let [opts (-> opts (assoc :name name) (dissoc :spec))
Expand Down

0 comments on commit d05e6e3

Please sign in to comment.