summaryrefslogtreecommitdiff
path: root/spec/ruby/core/float/arg_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/float/arg_spec.rb')
-rw-r--r--spec/ruby/core/float/arg_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/float/arg_spec.rb b/spec/ruby/core/float/arg_spec.rb
index 20a8ac0a63..971fe06b45 100644
--- a/spec/ruby/core/float/arg_spec.rb
+++ b/spec/ruby/core/float/arg_spec.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../../shared/complex/float/arg', __FILE__)
+require_relative '../../shared/complex/float/arg'
describe "Float#arg" do
it_behaves_like :float_arg, :arg