1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ripper/test_files.rb: set filename.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2014-11-20 07:56:08 +00:00
parent 219e4fcb45
commit 9d38d655e6

View file

@ -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