1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

Fix coverage.test: "line-execution-counts: one proc hit, one proc unused"

* test-suite/tests/coverage.test ("line-execution-counts"): Fix test for
  even/odd? in letrec.  The test profiles the execution of even?, not
  the letrec, so the last line is in fact not reached.
This commit is contained in:
Andy Wingo 2013-11-08 08:56:52 +01:00
parent 581a4eb82b
commit 7a5a533595

View file

@ -156,10 +156,9 @@
(let ((line (car line+count))
(count (cdr line+count)))
(case line
((0 1) (= count 1))
((2 3 4) (= count 0))
((5) (= count 1))
(else #f))))
((0 1) (= count 1))
((2 3 4 5) (= count 0))
(else #f))))
counts))))))
(pass-if "case-lambda"