Skip to content

Commit 78ddeef

Browse files
committed
Change test descriptions
1 parent 042bd35 commit 78ddeef

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

test/process.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,7 @@ def assert_windows(*args, &block)
136136
assert_equal var, read('tmp/spawn.txt')
137137
end
138138

139-
# TODO: More tests for edge cases! whatif no valid pipe,
140-
assert('Process.spawn', 'pipe') do
139+
assert('Process.spawn', 'pipe stdout') do
141140
begin
142141
var = ENV['RAND']
143142
pip = IO.sysopen('tmp/pipe.txt', 'w')
@@ -162,7 +161,7 @@ def assert_windows(*args, &block)
162161
end
163162
end
164163

165-
assert('Process.spawn', 'pipe error') do
164+
assert('Process.spawn', 'pipe stderr') do
166165
begin
167166
pip = IO.sysopen('tmp/pipe.err', 'w')
168167
pid = spawn('ruby unknown', err: pip)

0 commit comments

Comments
 (0)