summaryrefslogtreecommitdiff
path: root/spec/ruby/library/complex/math/shared/sqrt.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/complex/math/shared/sqrt.rb')
-rw-r--r--spec/ruby/library/complex/math/shared/sqrt.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/complex/math/shared/sqrt.rb b/spec/ruby/library/complex/math/shared/sqrt.rb
index 5125710119..b6a289c3f9 100644
--- a/spec/ruby/library/complex/math/shared/sqrt.rb
+++ b/spec/ruby/library/complex/math/shared/sqrt.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../fixtures/classes', __FILE__)
+require_relative '../fixtures/classes'
describe :complex_math_sqrt, shared: true do
it "returns the square root for positive numbers" do