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:
parent
219e4fcb45
commit
9d38d655e6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue