diff options
author | Matthias Benkard <code@mail.matthias.benkard.de> | 2007-07-12 18:04:37 +0200 |
---|---|---|
committer | Matthias Benkard <code@mail.matthias.benkard.de> | 2007-07-12 18:04:37 +0200 |
commit | 4e31df217f9b60ca122cc4fdb5ac73c1752ded38 (patch) | |
tree | 72f0e1e3c0b8f300f9d29b8c5ffecceac06a261f | |
parent | ddf719390c5714ca4d92fb861d7caf1c971d4647 (diff) |
Unit tests: stylistic improvements.
darcs-hash:2597f205c56b144d476c58b71b8433650439c972
-rw-r--r-- | tests.lisp | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -28,16 +28,16 @@ (deftestsuite mulk-lambda-fn1 (mulk-lambda) () (:tests - ((ensure (= (funcall (fn () _) 42) - 42))) + ((ensure-same (funcall (fn () _) 42) + 42)) ((ensure-error (funcall (fn _) 42))) - ((ensure (= (funcall (fn1 _) 42) - 42))) + ((ensure-same (funcall (fn1 _) 42) + 42)) ((ensure-error (funcall (fn +)))) - ((ensure (eql (funcall (fn1 +)) - +))) - ((ensure (= (funcall (fn #'+)) - 0))) + ((ensure-same (funcall (fn1 +)) + +)) + ((ensure-same (funcall (fn #'+)) + 0)) ((ensure (functionp (funcall (fn1 #'+))))))) @@ -49,7 +49,7 @@ ((ensure (functionp (funcall (fn1 (fn1 _)))))) ((ensure (functionp (funcall (efn1 (efn1 _)))))) ((ensure-same (funcall (fn1 _3) 1 2 3 4 5) - 4)) + 4)) ((ensure-error (funcall (efn1 _3) 1 2 3 4 5))))) |