Skip to content

Commit

Permalink
Proof build for nedap/utils.spec#7
Browse files Browse the repository at this point in the history
  • Loading branch information
vemv committed Dec 30, 2019
1 parent 9959ed3 commit 165590a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
(defproject com.nedap.staffing-solutions/speced.def "1.2.0-alpha1"
;; Please keep the dependencies sorted a-z.
:dependencies [[com.nedap.staffing-solutions/utils.spec "1.0.0"]
[expound "0.8.3"]
[com.nedap.staffing-solutions/utils.test "1.3.0"]
[org.clojure/clojure "1.10.1"]]

Expand Down
9 changes: 9 additions & 0 deletions test/unit/nedap/speced/def/defn.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -884,3 +884,12 @@
'(nedap.speced.def/defn nilable-primitive-specs-2 [^:nedap.speced.def/nilable ^double x])

'(nedap.speced.def/defn ^:nedap.speced.def/nilable ^double nilable-primitive-specs-3 [])))))

(sut/defn ^pos? dummy [^number? x]
x)

(deftest d1
(dummy "1"))

(deftest d2
(dummy -1))

0 comments on commit 165590a

Please sign in to comment.