Why Nostr? What is Njump?
2024-07-16 11:25:03

graywolf on Nostr: I do not understand how to use #test-error in #guile #srfi64. Why does this ...

I do not understand how to use #test-error in #guile #srfi64. Why does this

(test-error 'bb
(throw 'ff))

pass? I am using the test-driver.scm from Guix (I would hope it is right since Guix uses it), and this is the result logged:

test-name: load*:
location: test.scm:150
source:
+ (test-error 'bb (throw 'ff))
expected-error:
+ bb
actual-error:
+ (ff)
result: PASS

Hm...
Author Public Key
npub1nefrrwuefssnkj6mc8gjkqfxp0z2sgutw7eclqw3h5ns6qm7g7js58uq7k