diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-01 06:41:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-01 06:41:33 +0000 |
commit | d441e3b959721be536978d37bc492b444a4a1d7b (patch) | |
tree | 004ffe707c8769841bbe3249dcbdb4d65aa1bdc0 /test/ruby | |
parent | 19a8b5cbdc71383e4143d69c9fdb8e97928023d5 (diff) | |
download | ruby-d441e3b959721be536978d37bc492b444a4a1d7b.tar.gz |
* 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
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_syntax.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |