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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72153 in the body.
You can then email your comments to 72153 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#72153; Package guile. (Wed, 17 Jul 2024 10:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tomas Volf <~@wolfsden.cz>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Wed, 17 Jul 2024 10:18:02 GMT) Full text and rfc822 format available.

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)]

bug closed, send any further explanations to 72153 <at> debbugs.gnu.org and Tomas Volf <~@wolfsden.cz> Request was from Tomas Volf <~@wolfsden.cz> to control <at> debbugs.gnu.org. (Tue, 30 Jul 2024 20:49:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 28 Aug 2024 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 50 days ago.

Previous Next


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