Fix tests for new return values.
authorOlof-Joachim Frahm <olof@macrolet.net>
Thu, 18 Dec 2014 16:26:54 +0000 (16:26 +0000)
committerOlof-Joachim Frahm <olof@macrolet.net>
Thu, 18 Dec 2014 16:26:54 +0000 (16:26 +0000)
tests/facade.lisp

index fea5625..c8534cf 100644 (file)
@@ -5,13 +5,13 @@
 (in-suite cl-mock)
 
 (def-test call-with-mocks.empty ()
-  (is (eq T (call-with-mocks
-             (make-mock-bindings)
-             (constantly T)))))
+  (is (equal '(T) (call-with-mocks
+                   (make-mock-bindings)
+                   (constantly T)))))
 
 (def-test call-with-mocks.discards-values ()
   (is (equal
-       '(1 NIL)
+       '((1 2 3) NIL)
        (multiple-value-list
         (call-with-mocks
          (make-mock-bindings)