mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 19:50:24 +02:00
Fix coverage.test: "procedure-execution-count: never"
* test-suite/tests/coverage.test ("procedure-execution-count"): Adapt test to new behavior of procedure-execution-count of an unseen procedure: zero, not false.
This commit is contained in:
parent
7a5a533595
commit
697c4f29d9
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@
|
||||||
(lambda () (+ 1 2)))))
|
(lambda () (+ 1 2)))))
|
||||||
(and (coverage-data? data)
|
(and (coverage-data? data)
|
||||||
(= 3 result)
|
(= 3 result)
|
||||||
(not (procedure-execution-count data proc))))))
|
(zero? (procedure-execution-count data proc))))))
|
||||||
|
|
||||||
(pass-if "applicable struct"
|
(pass-if "applicable struct"
|
||||||
(let* ((<box> (make-struct <applicable-struct-vtable> 0 'pw))
|
(let* ((<box> (make-struct <applicable-struct-vtable> 0 'pw))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue