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:
parent
581a4eb82b
commit
7a5a533595
1 changed files with 3 additions and 4 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue