Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (17 sloc) 0.328 kb
(ns
doc-test-tests
(:use clojure.test)
(:use doc-test))
(run-tests 'doc-test)
(defn adder
"A simple function to test the doctest macro with.
=> ((adder 1) 2)
4 ; incorrect!
=> ((adder 4) 5)
9"
[n1]
(fn [n2] (+ n1 n2)))
(doc-test adder)
;(doc-test find-expression-strings)
;(doc-test to-is)
(run-tests)
Jump to Line
Something went wrong with that request. Please try again.