summaryrefslogtreecommitdiff
path: root/test/ripper
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-24 15:38:21 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-24 15:38:21 +0000
commit32f499f9d54e53f2456bae58ab556275d75ec4a4 (patch)
tree2e5cd06ef6797ae06821a0c9bb4372af2f7ab75b /test/ripper
parentf20b5c99957a01d246b95d100046fb4d57d6fcec (diff)
add message for an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ripper')
-rw-r--r--test/ripper/test_files.rb2
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