mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
19a8b5cbdc
commit
d441e3b959
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue