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...
(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...