1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

load from relative path to __FILE__

* spec/ruby/library/pathname/empty_spec.rb: load spec_helper from
  relative path to `__FILE__` same as other spec files, instead of
  `__dir__` in which symlinks are resolved, to get rid of constant
  redefinition warning when `srcdir` contains symlinks.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-11-04 01:48:45 +00:00
parent a5a8ba7d57
commit 996468de00

View file

@ -1,4 +1,4 @@
require File.expand_path('../../spec_helper', __dir__)
require File.expand_path('../../../spec_helper', __FILE__)
require 'pathname'
ruby_version_is '2.4' do