summaryrefslogtreecommitdiff
path: root/test/racc/test_scan_y.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/racc/test_scan_y.rb')
-rw-r--r--test/racc/test_scan_y.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/racc/test_scan_y.rb b/test/racc/test_scan_y.rb
index 983e2f5888..fcd7e53c99 100644
--- a/test/racc/test_scan_y.rb
+++ b/test/racc/test_scan_y.rb
@@ -1,4 +1,4 @@
-require File.expand_path(File.join(File.dirname(__FILE__), 'case'))
+require File.expand_path(File.join(__dir__, 'case'))
module Racc
class TestScanY < TestCase