* tests/test-actors.scm: Update test for message-ref with missing key.
It used to be that the default was to return #f.
Now the default is to throw an error if no default provided.
'banana)
;; A key we don't have
- (test-equal (message-ref monkey-message 'coo-coo)
- #f)
+ (let ((caught-error #f))
+ (catch 'message-missing-key
+ (lambda ()
+ (message-ref monkey-message 'coo-coo))
+ (lambda (. args)
+ (set! caught-error #t)))
+ (test-assert caught-error))
;; A key we don't have, with a default set
(test-equal (message-ref monkey-message 'coo-coo 'danger-danger)