Subject: bug#72153: Test name is evaluated twice

From: Tomas Volf <[email-masked]>
Date: Wed, 17 Jul 2024 12:17:01 +0200

Hello,

given a test of

    (test-assert (pk "foo")
      #t)

the test name is evaluated twice:

    ;;; ("foo")

    ;;; ("foo")
    test-name: foo
    location: test.scm:194
    source:
    + (test-assert (pk "foo") #t)
    actual-value: #t
    result: PASS

That does not seem to be allowed by SRFI-64.  I do not believe this is limited
to test-assert, I managed to reproduce with test-equal as well.

Have a nice day,
Tomas Volf

--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.