about summary refs log tree commit diff stats
path: root/075channel.mu
diff options
context:
space:
mode:
Diffstat (limited to '075channel.mu')
-rw-r--r--075channel.mu8
1 files changed, 4 insertions, 4 deletions
diff --git a/075channel.mu b/075channel.mu
index 72d039a9..f299836a 100644
--- a/075channel.mu
+++ b/075channel.mu
@@ -419,28 +419,28 @@ scenario buffer-lines-blocks-until-newline [
 F buffer-lines-blocks-until-newline: channel should be empty after init]
     # buffer stdin into buffered-stdin, try to read from buffered-stdin
     buffer-routine:number <- start-running buffer-lines, source, buffered-stdin
-    wait-for-routine buffer-routine
+    wait-for-routine-to-block buffer-routine
     empty? <- channel-empty? buffered-chan
     assert empty?:boolean, [ 
 F buffer-lines-blocks-until-newline: channel should be empty after buffer-lines bring-up]
     # write 'a'
     sink <- write sink, 97/a
     restart buffer-routine
-    wait-for-routine buffer-routine
+    wait-for-routine-to-block buffer-routine
     empty? <- channel-empty? buffered-chan
     assert empty?:boolean, [ 
 F buffer-lines-blocks-until-newline: channel should be empty after writing 'a']
     # write 'b'
     sink <- write sink, 98/b
     restart buffer-routine
-    wait-for-routine buffer-routine
+    wait-for-routine-to-block buffer-routine
     empty? <- channel-empty? buffered-chan
     assert empty?:boolean, [ 
 F buffer-lines-blocks-until-newline: channel should be empty after writing 'b']
     # write newline
     sink <- write sink, 10/newline
     restart buffer-routine
-    wait-for-routine buffer-routine
+    wait-for-routine-to-block buffer-routine
     empty? <- channel-empty? buffered-chan
     data-emitted?:boolean <- not empty?
     assert data-emitted?, [