GNU bug report logs - #72153
Test name is evaluated twice

Previous Next

Package: guile;

Reported by: Tomas Volf <~@wolfsden.cz>

Date: Wed, 17 Jul 2024 10:18:01 UTC

Severity: normal

Done: Tomas Volf <~@wolfsden.cz>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tomas Volf <~@wolfsden.cz>
To: bug-guile <at> gnu.org
Subject: Test name is evaluated twice
Date: Wed, 17 Jul 2024 12:17:01 +0200
[Message part 1 (text/plain, inline)]
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, inline)]

This bug report was last modified 297 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.