]> git.mdlowis.com Git - archive/dlang-scm.git/commitdiff
Tests must now return an explicit #t value to pass, anything else is considered a...
authorMike D. Lowis <mike@mdlowis.com>
Mon, 9 Jul 2012 13:36:15 +0000 (09:36 -0400)
committerMike D. Lowis <mike@mdlowis.com>
Mon, 9 Jul 2012 13:36:15 +0000 (09:36 -0400)
tests/test.scm
tests/test_buf.scm

index ef7103d0c85b81d153c6f8102aae6177b75b3c91..002621f64a5d6202211f7afe3bcc6172ec9f37d9 100644 (file)
@@ -19,7 +19,7 @@
       (let* ((test (car tests))
              (desc (car test))
              (fn   (cdr test)))
-        (if (not (fn))
+        (if (not (equal? #t (fn)))
           (begin
             (print "FAIL: " desc)
             (loop pass (+ fail 1) (cdr tests)))
index 86e5930c36e0804cf49a591ac46a37bf29367b66..1e1810443d5b32b1892645e99907bad1947f50f2 100644 (file)
            (= 3 (buf-pos buffer))
            (= 4 (vector-length (buf-data buffer)))))))
 
-