From d441e3b959721be536978d37bc492b444a4a1d7b Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 1 Jun 2011 06:41:33 +0000 Subject: * test/ruby/test_syntax.rb (TestSyntax#test_syntax): show script name in assertion message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_syntax.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_syntax.rb') diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb index 4624920536..bd60c8ad61 100644 --- a/test/ruby/test_syntax.rb +++ b/test/ruby/test_syntax.rb @@ -15,7 +15,7 @@ class TestSyntax < Test::Unit::TestCase 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 -- cgit v1.2.3