Skip to content

Commit 088fc24

Browse files
committed
FIx relative path in ripper tests.
1 parent 0e73061 commit 088fc24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/mri/tests/ripper/assert_parse_files.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
module TestRipper; end
55
class TestRipper::Generic < Test::Unit::TestCase
6-
SRCDIR = File.expand_path("../../..", __FILE__)
6+
# Changed from MRI to reflect the different relative path of the test suite.
7+
SRCDIR = File.expand_path("../../../../..", __FILE__)
78

89
def assert_parse_files(dir, pattern = "**/*.rb")
910
assert_separately(%W[--disable-gem -rripper - #{SRCDIR}/#{dir} #{pattern}],

0 commit comments

Comments
 (0)