From fa0943293ac36efeb2d718f856bd7445c5667ff2 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Mon, 12 Dec 2016 09:09:52 -0600 Subject: [PATCH] tests: Update test-actors to use msg-recieve instead of =>. It feels like msg-recieve is an easier to read name, and looks less like a structure used elsewhere (the way => is used in cond). * tests/test-actors.scm: Update to switch => to msg-recieve. --- tests/test-actors.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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?") -- 2.31.1