X-Git-Url: https://jxself.org/git/?p=8sync.git;a=blobdiff_plain;f=tests%2Ftest-actors.scm;fp=tests%2Ftest-actors.scm;h=3fc69c45c9eea8da5692fae14b304058e912d743;hp=0a09adb07bc1d00ac8d5b38482da6874f088fd0c;hb=fa0943293ac36efeb2d718f856bd7445c5667ff2;hpb=ea14f5dc75cebaaf9cc21d96a6575b3738c43354 diff --git a/tests/test-actors.scm b/tests/test-actors.scm index 0a09adb..3fc69c4 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") - (=> (first-reply #:key msg) + (msg-recieve (first-reply #:key msg) (<-wait actor 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) - (=> (second-reply #:key *auto-reply*) + (msg-recieve (second-reply #:key *auto-reply*) (<-reply-wait actor 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") - (=> (reply #:key msg) + (msg-recieve (reply #:key msg) (<-reply-wait actor message #:msg "Have you tried turning it off and on?")