summaryrefslogtreecommitdiff
path: root/spec/ruby/language/line_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/language/line_spec.rb')
-rw-r--r--spec/ruby/language/line_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/language/line_spec.rb b/spec/ruby/language/line_spec.rb
index d9fd307dab..aac039a941 100644
--- a/spec/ruby/language/line_spec.rb
+++ b/spec/ruby/language/line_spec.rb
@@ -1,6 +1,6 @@
-require File.expand_path('../../spec_helper', __FILE__)
-require File.expand_path('../../fixtures/code_loading', __FILE__)
-require File.expand_path('../shared/__LINE__', __FILE__)
+require_relative '../spec_helper'
+require_relative '../fixtures/code_loading'
+require_relative 'shared/__LINE__'
describe "The __LINE__ pseudo-variable" do
it "raises a SyntaxError if assigned to" do