Add a sanity test to prevent future embarrassment.
This commit is contained in:
parent
a7754c5246
commit
9a3a7d7f50
2 changed files with 15 additions and 1 deletions
|
@ -5,7 +5,9 @@
|
||||||
#:content
|
#:content
|
||||||
#:index
|
#:index
|
||||||
#:content-tags
|
#:content-tags
|
||||||
#:index-posts))
|
#:index-posts
|
||||||
|
#:make-tag
|
||||||
|
#:tag-slug=))
|
||||||
|
|
||||||
(in-package :coleslaw-mathjax)
|
(in-package :coleslaw-mathjax)
|
||||||
|
|
||||||
|
|
|
@ -1 +1,13 @@
|
||||||
(in-package :coleslaw-tests)
|
(in-package :coleslaw-tests)
|
||||||
|
|
||||||
|
(defmacro deftest (name docstring &body body)
|
||||||
|
`(test ,name
|
||||||
|
,docstring
|
||||||
|
,@body))
|
||||||
|
|
||||||
|
(def-suite coleslaw-tests)
|
||||||
|
(in-suite coleslaw-tests)
|
||||||
|
|
||||||
|
(deftest sanity-test
|
||||||
|
"A blog should compile and deploy correctly."
|
||||||
|
(is (zerop (coleslaw:main nil))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue