Merge pull request #114 from PuercoPop/improve-basedir-tests
Improve COLESLAW-CONF:*BASEDIR* tests
This commit is contained in:
commit
d654c17b2c
1 changed files with 5 additions and 1 deletions
|
@ -3,10 +3,14 @@
|
||||||
|
|
||||||
(in-package :coleslaw-tests)
|
(in-package :coleslaw-tests)
|
||||||
|
|
||||||
(plan 1)
|
(plan 3)
|
||||||
|
|
||||||
(diag "COLESLAW-CONF:*BASEDIR* points to Coleslaw's top level directory")
|
(diag "COLESLAW-CONF:*BASEDIR* points to Coleslaw's top level directory")
|
||||||
(is (car (last (pathname-directory coleslaw-conf:*basedir*)))
|
(is (car (last (pathname-directory coleslaw-conf:*basedir*)))
|
||||||
"coleslaw" :test #'string=)
|
"coleslaw" :test #'string=)
|
||||||
|
(ok (probe-file (merge-pathnames #P"plugins" coleslaw-conf:*basedir*))
|
||||||
|
"COLESLAW-CONF:*BASEDIR* has a plugins sub-directory")
|
||||||
|
(ok (probe-file (merge-pathnames #P"themes" coleslaw-conf:*basedir*))
|
||||||
|
"COLESLAW-CONF:*BASEDIR* has a themes sub-directory")
|
||||||
|
|
||||||
(finalize)
|
(finalize)
|
||||||
|
|
Loading…
Add table
Reference in a new issue