summaryrefslogtreecommitdiff
path: root/spec/ruby/library/socket/unixserver/accept_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/socket/unixserver/accept_spec.rb')
-rw-r--r--spec/ruby/library/socket/unixserver/accept_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/socket/unixserver/accept_spec.rb b/spec/ruby/library/socket/unixserver/accept_spec.rb
index a1570f7013..c05fbe7f22 100644
--- a/spec/ruby/library/socket/unixserver/accept_spec.rb
+++ b/spec/ruby/library/socket/unixserver/accept_spec.rb
@@ -74,7 +74,7 @@ with_feature :unix_socket do
describe 'without a client' do
it 'blocks the calling thread' do
- lambda { @server.accept }.should block_caller
+ -> { @server.accept }.should block_caller
end
end