test/task_test.rb in rexec-1.1.12 vs test/task_test.rb in rexec-1.2.1
- old
+ new
@@ -126,10 +126,10 @@
test_results.call(wr, task.output, task.error)
end
assert rd.closed?
- assert_raises(Errno::EPIPE) do
+ assert_raises(Errno::EINVAL) do
wr.puts "The pipe is closed on the other side.."
end
in_rd, in_wr = IO.pipe
out_rd, out_wr = IO.pipe