summaryrefslogtreecommitdiffstats
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
commit96840ec9760714bcd4627573a4178c0d20d370a4 (patch)
tree2e5cd06ef6797ae06821a0c9bb4372af2f7ab75b /test/ripper
parentb1cbb7c574cc246ce5bcf396f9a08c835d4b144b (diff)
downloadruby-96840ec9760714bcd4627573a4178c0d20d370a4.tar.gz
ruby-96840ec9760714bcd4627573a4178c0d20d370a4.tar.xz
ruby-96840ec9760714bcd4627573a4178c0d20d370a4.zip
add message for an assertion.
git-svn-id: http://svn.ruby-lang.org/repos/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 f96d12ac5..b30ab53fa 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