diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-24 15:38:21 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-24 15:38:21 +0000 |
commit | 32f499f9d54e53f2456bae58ab556275d75ec4a4 (patch) | |
tree | 2e5cd06ef6797ae06821a0c9bb4372af2f7ab75b | |
parent | f20b5c99957a01d246b95d100046fb4d57d6fcec (diff) | |
download | ruby-32f499f9d54e53f2456bae58ab556275d75ec4a4.tar.gz |
add message for an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ripper/test_files.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ripper/test_files.rb b/test/ripper/test_files.rb index f96d12ac55..b30ab53fad 100644 --- a/test/ripper/test_files.rb +++ b/test/ripper/test_files.rb @@ -13,7 +13,7 @@ class TestRipper_Generic < Test::Unit::TestCase def test_parse_files Find.find("#{SRCDIR}/lib", "#{SRCDIR}/ext", "#{SRCDIR}/sample", "#{SRCDIR}/test") {|n| next if /\.rb\z/ !~ n || !File.file?(n) - assert_nothing_raised { Parser.new(File.read(n)).parse } + assert_nothing_raised("ripper failed to parse: #{n.inspect}") { Parser.new(File.read(n)).parse } } end end |