bug#72154: test-error does not work

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

iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmaXm34ACgkQL7/ufbZ/
wanoShAAoWTB1C30A0d0gt+CiU/HqNCmZ2bwx6kNUfelASMSl+vgY6/mv3687J3l
NGGnt0brNTfr2tShgPMMnHVuD+K+YXFdX655QmjQo/eqxU7DN+gOXeDZKN4ENfzB
FD+N8p6xidH3d96/2Ow72q2rrLtO6vf0Ly7ADxDUfahRP9O+Vw0iA0gsNuqrQt03
/WN6iZpKz5m4/7Ozz0V38xD9kKQA67Wq+Mn8T4mzccfPJrwFrHFQJuLy8OpkTcBQ
O2O880prwdS3f3vpowaZlqI3bk9xpbuRSzuGqvu3dEqR/r3g4CRC9rJ7ZqLoaFz6
N0BPQ7b0FiSKThQMiWIojreOTisQT2WC0z432gJcFVAT7POcWjpH6a49W0qYlWfN
GlbDYAKTxxoz6Zq3eUcgTGYquz2FA6dC7sfOlx6rbn4Crn2SZF/v+1tExGkrBDFR
V8mJ7KBqys+G8/IvxgSnrgvKnEpX+ybxEoB5qMSAgNNngecDd0QCbHHXbuBkaGiT
Q29c72Dflma6K6TB3iS+MYr4kw0GsLDsa/NlBV4f4UT8kzLDiUiRJZqS++NDKL30
femfs+6SmcGUF9uWWwp3YSjlXFGZkQLRPBhZR5RjquGGZld0bBUqNcaGVn2rem4E
k2cLMZ5WMu+dDKFF7s/p1U5F3g4ashDrzEBVOLZzA9k/SG8fWEA=
=Q82h
-----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.