bug#72153: Test name is evaluated twice

Tomas Volf <[email protected]>
Newsgroups gmane.lisp.guile.bugs
Message-ID <ZpeaHVycf9OAI-hd@ws>
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.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmaXmh0ACgkQL7/ufbZ/
wanIpA//b3N2Hxl3qvaGNPrhMCQstjLK3IFpBRsdpDahpq7ZW6WYurHxR64QBSma
NCr3Gia8mBbsmtD3I2jFtSx3+MHquXFFmLUW5BWOpmaiUONdqFcTGvGKB8gpkfIR
TZCLvjsC/C+x49BO/ZF4jsIU4+OK1++cJ8FsLytLxXxUnHUjL1eIjTLyk3rWysPv
X9AhElF/eVkJ/ZgHCLtdp8E00Lp4eD8YzYuc4Ug62CZGDFZyGW0f5F0HjRKhp7UJ
D9NjBEXHrx3xRQGM2Xl4K3iSeawfQMAUrawwDtvwgxkdsA2KjvLHnG7JYUeBO48y
PtPBN/FYItCqAY7IG7XEuj3bCF3U0pUOdXkg2U1g9mfVHOwk3x7qXT7n7PE/xHvX
cvwb+lbkj5Orqtlxev86AACX9GFnGkk8JKN80QRIpFYr71SjXOXN3RDih8c3Bsy0
vlnH7bD4BjVanocKwuI4YvmvBO/ubSefZhw38PZwdBMAWdN3F//eML6vC43E410U
JC94nk2Q4mJxY+NTcAPSjn4/2QsS9I5Mm2SVGVejS2hU+OcwNWOnCnnplT0FE7KI
RGs/FgMiXWMM3prAfbnjyOClObfLposVEsqoJAv4pbeYLrUedhsMYcG7xGTCH38x
/wol7S7wph6dMPvfbsMmQQQ6ki4jjWshtouE7UFKEjE/BOlfFDQ=
=XueU
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.