aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/string/shared/eql.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/string/shared/eql.rb')
-rw-r--r--spec/ruby/core/string/shared/eql.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/string/shared/eql.rb b/spec/ruby/core/string/shared/eql.rb
index 92dfa91923..85b861f4f1 100644
--- a/spec/ruby/core/string/shared/eql.rb
+++ b/spec/ruby/core/string/shared/eql.rb
@@ -1,6 +1,6 @@
# -*- encoding: binary -*-
-require File.expand_path('../../../../spec_helper', __FILE__)
-require File.expand_path('../../fixtures/classes', __FILE__)
+require_relative '../../../spec_helper'
+require_relative '../fixtures/classes'
describe :string_eql_value, shared: true do
it "returns true if self <=> string returns 0" do