Shinmera / parachute

An extensible and cross-compatible testing framework.
https://shinmera.github.io/parachute
zlib License
94 stars 9 forks source link

IS-VALUES gives false positives #13

Closed phoe closed 4 years ago

phoe commented 4 years ago

Using a modified form from the README:

(define-test foo
  (is-values (values 1 "1")
    (= 2)
    (equal "2")))
SET> (parachute:test 'riichi-evaluator.test::foo)
        ? RIICHI-EVALUATOR.TEST::FOO
  0.000 ✔   (is-values (values 1 "1") (= 2) (equal "2"))
  0.005 ✔ RIICHI-EVALUATOR.TEST::FOO

;; Summary:
Passed:     1
Failed:     0
Skipped:    0
phoe commented 4 years ago

I had an ancient version of parachute in my local-projects. Does not reproduce on master anymore.