ruby-changes:36430
From: usa <ko1@a...>
Date: Thu, 20 Nov 2014 16:56:24 +0900 (JST)
Subject: [ruby-changes:36430] usa:r48511 (trunk): * test/ripper/test_files.rb: set filename.
usa 2014-11-20 16:56:08 +0900 (Thu, 20 Nov 2014) New Revision: 48511 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48511 Log: * test/ripper/test_files.rb: set filename. Modified files: trunk/test/ripper/test_files.rb Index: test/ripper/test_files.rb =================================================================== --- test/ripper/test_files.rb (revision 48510) +++ test/ripper/test_files.rb (revision 48511) @@ -15,7 +15,7 @@ class TestRipper::Generic < Test::Unit:: https://github.com/ruby/ruby/blob/trunk/test/ripper/test_files.rb#L15 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/