bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#72154: test-error does not work


From: Tomas Volf
Subject: bug#72154: test-error does not work
Date: Wed, 17 Jul 2024 12:22:54 +0200

Hi,

currently the test-error does not seem to work:

    (test-error "should throw" 'foo
      (throw 'bar))

results in

    test-name: should throw
    location: test.scm:191
    source:
    + (test-error "should throw" 'foo (throw 'bar))
    expected-error:
    + foo
    actual-error:
    + (bar)
    result: PASS

According to feedback from mastodon it is not really implemented.  That does not
seem to be documented.  Maybe it would be better to just not export it?  Or it
should throw 'not-implemented instead of just passing?

Have a nice day,
Tomas

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

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]