diff options
Diffstat (limited to 'spec/ruby/core/matchdata/length_spec.rb')
| -rw-r--r-- | spec/ruby/core/matchdata/length_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/matchdata/length_spec.rb b/spec/ruby/core/matchdata/length_spec.rb index 75cf607598..39df36df4b 100644 --- a/spec/ruby/core/matchdata/length_spec.rb +++ b/spec/ruby/core/matchdata/length_spec.rb @@ -1,6 +1,6 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../shared/length', __FILE__) +require_relative '../../spec_helper' +require_relative 'shared/length' describe "MatchData#length" do - it_behaves_like(:matchdata_length, :length) + it_behaves_like :matchdata_length, :length end |
