summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby')
-rw-r--r--spec/ruby/library/socket/unixsocket/recvfrom_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/socket/unixsocket/recvfrom_spec.rb b/spec/ruby/library/socket/unixsocket/recvfrom_spec.rb
index 3e2eb69885..c0e1cf670b 100644
--- a/spec/ruby/library/socket/unixsocket/recvfrom_spec.rb
+++ b/spec/ruby/library/socket/unixsocket/recvfrom_spec.rb
@@ -67,7 +67,7 @@ with_feature :unix_socket do
describe 'using a UNIX socket constructed using UNIXSocket.for_fd' do
before do
@path1 = SocketSpecs.socket_path
- @path2 = SocketSpecs.socket_path + '2'
+ @path2 = SocketSpecs.socket_path.chop + '2'
rm_r(@path2)
@client_raw = Socket.new(:UNIX, :DGRAM)