fix bogus test in arith.pure.lisp
authorNikodemus Siivola <nikodemus@random-state.net>
Sun, 26 Jun 2011 17:40:22 +0000 (20:40 +0300)
committerNikodemus Siivola <nikodemus@random-state.net>
Sun, 26 Jun 2011 17:40:22 +0000 (20:40 +0300)
  Didn't actually call the slow-path at all.  Thanks to Lutz Euler for the
  heads-up.

tests/arith.pure.lisp

index 5a6ca2f..dde318b 100644 (file)
                                                       (apply fast call-args)
                                                     (division-by-zero () :div0)))
                                      (slow-result (handler-case
-                                                      (apply fast call-args)
+                                                      (apply slow call-args)
                                                     (division-by-zero () :div0))))
                                 (if (eql fast-result slow-result)
                                     (print (list :ok `(,op ,@args) :=> fast-result))