summaryrefslogtreecommitdiff
path: root/spec/ruby/core/matchdata/begin_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/matchdata/begin_spec.rb')
-rw-r--r--spec/ruby/core/matchdata/begin_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/matchdata/begin_spec.rb b/spec/ruby/core/matchdata/begin_spec.rb
index b3d042066d..b791018633 100644
--- a/spec/ruby/core/matchdata/begin_spec.rb
+++ b/spec/ruby/core/matchdata/begin_spec.rb
@@ -1,6 +1,6 @@
# -*- encoding: utf-8 -*-
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
describe "MatchData#begin" do
it "returns the offset of the start of the nth element" do