summaryrefslogtreecommitdiff
path: root/spec/ruby/core/regexp/match_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/regexp/match_spec.rb')
-rw-r--r--spec/ruby/core/regexp/match_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/regexp/match_spec.rb b/spec/ruby/core/regexp/match_spec.rb
index e2b6b241e8..e3247a088d 100644
--- a/spec/ruby/core/regexp/match_spec.rb
+++ b/spec/ruby/core/regexp/match_spec.rb
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
describe :regexp_match, shared: true do
it "returns nil if there is no match" do