ruby-changes:19843
From: nobu <ko1@a...>
Date: Wed, 1 Jun 2011 15:41:38 +0900 (JST)
Subject: [ruby-changes:19843] nobu:r31890 (trunk): * test/ruby/test_syntax.rb (TestSyntax#test_syntax): show script name
nobu 2011-06-01 15:41:33 +0900 (Wed, 01 Jun 2011) New Revision: 31890 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31890 Log: * test/ruby/test_syntax.rb (TestSyntax#test_syntax): show script name in assertion message. Modified files: trunk/test/ruby/test_syntax.rb Index: test/ruby/test_syntax.rb =================================================================== --- test/ruby/test_syntax.rb (revision 31889) +++ test/ruby/test_syntax.rb (revision 31890) @@ -15,7 +15,7 @@ def test_syntax assert_nothing_raised(Exception) do for script in Dir[File.expand_path("../../../{lib,sample,ext,test}/**/*.rb", __FILE__)].sort - assert(valid_syntax?(IO::read(script), script)) + assert(valid_syntax?(IO::read(script), script), script) end end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/