spec/async/io/echo_spec.rb in async-io-0.5.0 vs spec/async/io/echo_spec.rb in async-io-1.0.0

- old
+ new

@@ -21,10 +21,10 @@ require 'async/io' RSpec.describe "echo client/server" do include_context Async::RSpec::Reactor - let(:server_address) {Async::IO::Address.new([:tcp, '0.0.0.0', 9000])} + let(:server_address) {Async::IO::Address.tcp('0.0.0.0', 9000)} def echo_server(server_address) Async::Reactor.run do |task| # This is a synchronous block within the current task: Async::IO::Socket.accept(server_address) do |client|