summaryrefslogtreecommitdiff
path: root/test/ripper/test_files.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-20 07:56:08 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-20 07:56:08 +0000
commit9d38d655e6d2b054d3476756748153d52f2fa947 (patch)
tree0d82531eb3f425696682ff92b9634550dda22800 /test/ripper/test_files.rb
parent219e4fcb450f502ed48dc220d343b1b3518f57c6 (diff)
* test/ripper/test_files.rb: set filename.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ripper/test_files.rb')
-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