test names Notevn (07 Feb 2025 15:19 UTC)
Re: test names Tomas Volf (07 Feb 2025 23:16 UTC)

test names Notevn 07 Feb 2025 10:19 UTC

hello,
new to to guile and scheme, and Im experimenting with the srfi-64 module.

i noticed an inconsistency in the test runner:

for example, given these two tests:
(test-assert "truth" #t)
(test-error "div by zero" (lambda () (/ 1 0)))

when logging the test runner, the second one does not have a test-name value with the name of the test and instead have a expected-error with the name of the test.

(i also tested test-equal and test-ewv  and both return a test-name value)

is there a reason for this inconsistency?
am i doing something wrong?