Minor whitespace/documentation fixes
authorMarco Baringer <mb@bese.it>
Mon, 11 Feb 2013 11:50:50 +0000 (12:50 +0100)
committerMarco Baringer <mb@bese.it>
Mon, 11 Feb 2013 11:50:50 +0000 (12:50 +0100)
src/run.lisp
src/suite.lisp
t/tests.lisp

index 286a7c4..1f0ed33 100644 (file)
@@ -110,8 +110,7 @@ run."))
           (or  (satisfies-depends-p #'some))
           (not (satisfies-depends-p #'notany))
           (:before (every #'(lambda (dep)
-                              (let ((status (status (get-test dep))))
-                                (eql :unknown status)))
+                              (eql :unknown (status (get-test dep))))
                           (cdr depends-on)))))))
 
 (defun results-status (result-list)
index c0cac8b..a74f7ed 100644 (file)
@@ -37,7 +37,7 @@ FIXTURE::
   tests defined in this suite.
 
 [NOTE]
-This macro is built on top of `make-suite` as such it, like `make-suite`,
+This macro is built on top of `make-suite` and  it, just like `make-suite`,
 will overrwrite any existing suite named `NAME`."
   `(eval-when (:compile-toplevel :load-toplevel :execute)
      (make-suite ',name
@@ -75,7 +75,7 @@ Overrides any existing suite named NAME."
 
 (defun list-all-suites ()
   (loop for suite being the hash-value in *suites*
-       collect suite))
+        collect suite))
 
 ;;;; ** Managing the Current Suite
 
index caba093..e3d32d1 100644 (file)
   (signals circular-dependency
     (run 'circular-2)))
 
-
 (def-suite before-test-suite :description "Suite for before test" :in nil)
 
 (def-test before-0 (:suite before-test-suite)
   (with-test-results (results before-test-suite-2)
     (is (every #'test-passed-p results))))
 
-
 ;;;; dependencies with symbol
 (def-test dep-with-symbol-first (:suite test-suite)
   (pass))