summaryrefslogtreecommitdiff
path: root/spec/ruby/shared/complex/abs2.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/shared/complex/abs2.rb')
-rw-r--r--spec/ruby/shared/complex/abs2.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/shared/complex/abs2.rb b/spec/ruby/shared/complex/abs2.rb
index f899a41a3e..a39530d4e2 100644
--- a/spec/ruby/shared/complex/abs2.rb
+++ b/spec/ruby/shared/complex/abs2.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
describe :complex_abs2, shared: true do
it "returns the sum of the squares of the real and imaginary parts" do