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/library/scanf/string/block_scanf_spec.rb | 4 ++-- spec/ruby/library/scanf/string/scanf_spec.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'spec/ruby/library/scanf/string') diff --git a/spec/ruby/library/scanf/string/block_scanf_spec.rb b/spec/ruby/library/scanf/string/block_scanf_spec.rb index 9dc5b52a84..d5c42cb395 100644 --- a/spec/ruby/library/scanf/string/block_scanf_spec.rb +++ b/spec/ruby/library/scanf/string/block_scanf_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/block_scanf.rb', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/block_scanf' require 'scanf' describe "String#block_scanf" do diff --git a/spec/ruby/library/scanf/string/scanf_spec.rb b/spec/ruby/library/scanf/string/scanf_spec.rb index 885361d5af..fbe2590476 100644 --- a/spec/ruby/library/scanf/string/scanf_spec.rb +++ b/spec/ruby/library/scanf/string/scanf_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/block_scanf.rb', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/block_scanf' require 'scanf' describe "String#scanf" do -- cgit v1.2.3