2017-04-20 17:49:31 +00:00
|
|
|
#lang syndicate/test
|
|
|
|
|
2020-03-11 17:12:16 +00:00
|
|
|
;; The facet in the on-stop should immediately die and its assertion should never be visible.
|
|
|
|
;; Pretty sure the little implementation gets that wrong.
|
|
|
|
;; the trace does not have a way of saying there should never be a "here" assertion
|
2017-04-20 17:49:31 +00:00
|
|
|
|
|
|
|
(spawn
|
|
|
|
(on-stop (react (assert (outbound "here"))))
|
|
|
|
(stop-when (message "stop")))
|
|
|
|
|
|
|
|
(spawn (on-start (send! "stop")))
|
|
|
|
|
2020-03-11 17:12:16 +00:00
|
|
|
(trace (message "stop"))
|