From 32f499f9d54e53f2456bae58ab556275d75ec4a4 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 24 Jun 2006 15:38:21 +0000 Subject: add message for an assertion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ripper/test_files.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3