summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ripper/test_files.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ripper/test_files.rb b/test/ripper/test_files.rb
index ca26e35bfc..5541a09368 100644
--- a/test/ripper/test_files.rb
+++ b/test/ripper/test_files.rb
@@ -15,7 +15,7 @@ class TestRipper::Generic < Test::Unit::TestCase
for script in Dir["#{dir}/{lib,sample,ext,test}/**/*.rb"].sort
next if TEST_RATIO < rand
assert_nothing_raised("ripper failed to parse: #{script.inspect}") {
- Parser.new(File.read(script)).parse
+ Parser.new(File.read(script), script).parse
}
end
eom