From 401b64c4e840bc8887219e9e445a64b3d5943656 Mon Sep 17 00:00:00 2001 From: eregon Date: Sun, 4 Mar 2018 15:09:32 +0000 Subject: Update to ruby/spec@c1b568b git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/core/io/shared/binwrite.rb | 2 +- spec/ruby/core/io/shared/codepoints.rb | 2 +- spec/ruby/core/io/shared/each.rb | 2 +- spec/ruby/core/io/shared/new.rb | 2 +- spec/ruby/core/io/shared/tty.rb | 2 +- spec/ruby/core/io/shared/write.rb | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'spec/ruby/core/io/shared') diff --git a/spec/ruby/core/io/shared/binwrite.rb b/spec/ruby/core/io/shared/binwrite.rb index 67f0fd5c86..1a88442a3b 100644 --- a/spec/ruby/core/io/shared/binwrite.rb +++ b/spec/ruby/core/io/shared/binwrite.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../fixtures/classes', __FILE__) +require_relative '../fixtures/classes' describe :io_binwrite, shared: true do before :each do diff --git a/spec/ruby/core/io/shared/codepoints.rb b/spec/ruby/core/io/shared/codepoints.rb index 3bb3dce939..a5062e7f79 100644 --- a/spec/ruby/core/io/shared/codepoints.rb +++ b/spec/ruby/core/io/shared/codepoints.rb @@ -1,5 +1,5 @@ # -*- encoding: utf-8 -*- -require File.expand_path('../../fixtures/classes', __FILE__) +require_relative '../fixtures/classes' describe :io_codepoints, shared: true do before :each do diff --git a/spec/ruby/core/io/shared/each.rb b/spec/ruby/core/io/shared/each.rb index 4ef8a54147..ac01a49df1 100644 --- a/spec/ruby/core/io/shared/each.rb +++ b/spec/ruby/core/io/shared/each.rb @@ -1,5 +1,5 @@ # -*- encoding: utf-8 -*- -require File.expand_path('../../fixtures/classes', __FILE__) +require_relative '../fixtures/classes' describe :io_each, shared: true do before :each do diff --git a/spec/ruby/core/io/shared/new.rb b/spec/ruby/core/io/shared/new.rb index 12f889f646..ea22f40090 100644 --- a/spec/ruby/core/io/shared/new.rb +++ b/spec/ruby/core/io/shared/new.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../fixtures/classes', __FILE__) +require_relative '../fixtures/classes' # This group of specs may ONLY contain specs that do successfully create # an IO instance from the file descriptor returned by #new_fd helper. diff --git a/spec/ruby/core/io/shared/tty.rb b/spec/ruby/core/io/shared/tty.rb index eddc5d15af..947b887f81 100644 --- a/spec/ruby/core/io/shared/tty.rb +++ b/spec/ruby/core/io/shared/tty.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../fixtures/classes', __FILE__) +require_relative '../fixtures/classes' describe :io_tty, shared: true do platform_is_not :windows do diff --git a/spec/ruby/core/io/shared/write.rb b/spec/ruby/core/io/shared/write.rb index fd4b0af30e..9490a848d7 100644 --- a/spec/ruby/core/io/shared/write.rb +++ b/spec/ruby/core/io/shared/write.rb @@ -1,5 +1,5 @@ # encoding: utf-8 -require File.expand_path('../../fixtures/classes', __FILE__) +require_relative '../fixtures/classes' describe :io_write, shared: true do before :each do -- cgit v1.2.3