Skip to content

Commit

Permalink
Fix deferred spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Oct 14, 2019
1 parent 49ffc3f commit cc83788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/async/io/protocol/line_spec.rb
Expand Up @@ -26,7 +26,7 @@

let(:pipe) {@pipe = Async::IO::Socket.pair(Socket::AF_UNIX, Socket::SOCK_STREAM)}
let(:remote) {pipe.first}
subject {described_class.new(Async::IO::Stream.new(pipe.last, reactor: reactor), "\n")}
subject {described_class.new(Async::IO::Stream.new(pipe.last, deferred: true), "\n")}

after(:each) {@pipe&.each(&:close)}

Expand Down

0 comments on commit cc83788

Please sign in to comment.