spec/async/io/stream_spec.rb in async-io-1.27.7 vs spec/async/io/stream_spec.rb in async-io-1.28.0
- old
+ new
@@ -81,10 +81,10 @@
it "handles write failures" do
subject.close
task = reactor.async do
output.write("Hello World")
- output.flush(deferred: true)
+ output.flush
end
expect do
task.wait
end.to raise_error(Errno::EPIPE)