summaryrefslogtreecommitdiff
path: root/spec/ruby/core/float/shared/arithmetic_exception_in_coerce.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/float/shared/arithmetic_exception_in_coerce.rb')
-rw-r--r--spec/ruby/core/float/shared/arithmetic_exception_in_coerce.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/float/shared/arithmetic_exception_in_coerce.rb b/spec/ruby/core/float/shared/arithmetic_exception_in_coerce.rb
index 0d9f32af16..71b540f752 100644
--- a/spec/ruby/core/float/shared/arithmetic_exception_in_coerce.rb
+++ b/spec/ruby/core/float/shared/arithmetic_exception_in_coerce.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../fixtures/classes', __FILE__)
+require_relative '../fixtures/classes'
describe :float_arithmetic_exception_in_coerce, shared: true do
ruby_version_is ""..."2.5" do