summaryrefslogtreecommitdiff
path: root/spec/ruby/core/matchdata/shared
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/matchdata/shared')
-rw-r--r--spec/ruby/core/matchdata/shared/eql.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/matchdata/shared/eql.rb b/spec/ruby/core/matchdata/shared/eql.rb
index 098d82db5b..e021baa178 100644
--- a/spec/ruby/core/matchdata/shared/eql.rb
+++ b/spec/ruby/core/matchdata/shared/eql.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../../../spec_helper', __FILE__)
+require_relative '../../../spec_helper'
describe :matchdata_eql, shared: true do
it "returns true if both operands have equal target strings, patterns, and match positions" do