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