From 5c276e1cc91c5ab2a41fbf7827af2fed914a2bc0 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sat, 27 Jul 2019 12:40:09 +0200 Subject: Update to ruby/spec@875a09e --- spec/ruby/library/socket/addrinfo/unix_path_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/ruby/library/socket/addrinfo/unix_path_spec.rb') diff --git a/spec/ruby/library/socket/addrinfo/unix_path_spec.rb b/spec/ruby/library/socket/addrinfo/unix_path_spec.rb index 0f25881724..6bfb56a4ac 100644 --- a/spec/ruby/library/socket/addrinfo/unix_path_spec.rb +++ b/spec/ruby/library/socket/addrinfo/unix_path_spec.rb @@ -9,7 +9,7 @@ with_feature :unix_socket do end it "raises an exception" do - lambda { @addrinfo.unix_path }.should raise_error(SocketError) + -> { @addrinfo.unix_path }.should raise_error(SocketError) end end @@ -20,7 +20,7 @@ with_feature :unix_socket do end it "raises an exception" do - lambda { @addrinfo.unix_path }.should raise_error(SocketError) + -> { @addrinfo.unix_path }.should raise_error(SocketError) end end -- cgit v1.2.3