about summary refs log tree commit homepage
path: root/t/spawn.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-10-07 21:24:08 +0000
committerEric Wong <e@80x24.org>2023-10-08 18:54:47 +0000
commit1661ff8e21f3cb1df1a3fc00d917f404f4eae734 (patch)
treebd2d06840b241b5f4546688fa07b1bf7790f4222 /t/spawn.t
parent27423677034478018a202e5ddff02c5d2e0de061 (diff)
downloadpublic-inbox-1661ff8e21f3cb1df1a3fc00d917f404f4eae734.tar.gz
Since we deal with pipes (of either direction) and bidirectional
stream sockets for this class, it's better to remove the `Pipe'
from the name and replace it with `IO' to communicate that it
works for any form of IO::Handle-like object tied to a process.
Diffstat (limited to 't/spawn.t')
-rw-r--r--t/spawn.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/spawn.t b/t/spawn.t
index 04589437..be5aaf9f 100644
--- a/t/spawn.t
+++ b/t/spawn.t
@@ -149,8 +149,8 @@ EOF
         $fh = popen_rd(['true'], undef, { cb_arg => [sub { @c = caller }] });
         undef $fh; # ->DESTROY
         ok(scalar(@c), 'callback fired by ->DESTROY');
-        ok(grep(!m[/PublicInbox/ProcessPipe\.pm\z], @c),
-                'callback not invoked by ProcessPipe');
+        ok(grep(!m[/PublicInbox/ProcessIO\.pm\z], @c),
+                'callback not invoked by ProcessIO');
 }
 
 { # children don't wait on siblings