X-Git-Url: https://jxself.org/git/?p=8sync.git;a=blobdiff_plain;f=tests%2Ftest-actors.scm;fp=tests%2Ftest-actors.scm;h=4d7ec4b3d1a2fc6f99cedfbdcb1d82e594cce960;hp=ad81142ac28dd6bc6e414b9f52bfa01561eff625;hb=2785c244a09fc008488385b10053ef854fb27c34;hpb=063be529581b7004dae5ecb106bcf33729b9fef7 diff --git a/tests/test-actors.scm b/tests/test-actors.scm index ad81142..4d7ec4b 100644 --- a/tests/test-actors.scm +++ b/tests/test-actors.scm @@ -79,13 +79,13 @@ (define* (antsy-caller-pester-rep actor message #:key who-to-call) (~display "customer> I'm calling customer service about this!\n") - (msg-receive (first-reply #:key msg) + (mbody-receive (first-reply #:key msg) (<-wait who-to-call 'field-call) (if (message-auto-reply? first-reply) (~display "customer> Whaaaaat? I can't believe I got voice mail!\n") (begin (~format "*customer hears*: ~a\n" msg) - (msg-receive (second-reply #:key *auto-reply*) + (mbody-receive (second-reply #:key *auto-reply*) (<-reply-wait first-reply #:msg "Yes, it didn't work, I'm VERY ANGRY!") (if (message-auto-reply? second-reply) @@ -97,7 +97,7 @@ (define (rep-field-call actor message) (~display "good-rep> Hm, another call from a customer...\n") - (msg-receive (reply #:key msg) + (mbody-receive (reply #:key msg) (<-reply-wait message #:msg "Have you tried turning it off and on?") (~format "*rep hears*: ~a\n" msg) (~display "good-rep> I'm sorry, that's all I can do for you.\n")))