diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-25 22:08:29 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-25 22:08:29 +0000 |
commit | a967f738c83b960f23f5b04403a17ca37f049e25 (patch) | |
tree | 5981164c9b3b1bc7bee144852379aacf27e830ef /test/fileutils | |
parent | 7123baaf140e58e1292553dca9650ac23a2b5da3 (diff) | |
download | ruby-a967f738c83b960f23f5b04403a17ca37f049e25.tar.gz |
* lib/matrix.rb: suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/fileutils')
-rw-r--r-- | test/fileutils/test_dryrun.rb | 2 | ||||
-rw-r--r-- | test/fileutils/test_fileutils.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/fileutils/test_dryrun.rb b/test/fileutils/test_dryrun.rb index 2fdd65d2f6..e5ca25c9b4 100644 --- a/test/fileutils/test_dryrun.rb +++ b/test/fileutils/test_dryrun.rb @@ -15,7 +15,7 @@ class TestFileUtilsDryRun < Test::Unit::TestCase "FileUtils::DryRun.#{m} not public" end FileUtils::METHODS.each do |m| - assert_equal true, respond_to?(m, true) + assert_equal true, respond_to?(m, true), "FileUtils::DryRun\##{m} is not defined" assert_equal true, FileUtils::DryRun.private_method_defined?(m), "FileUtils::DryRun\##{m} is not private" diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb index dfbeec5b20..048d255c60 100644 --- a/test/fileutils/test_fileutils.rb +++ b/test/fileutils/test_fileutils.rb @@ -726,7 +726,7 @@ class TestFileUtils Dir.rmdir "tmp-first-line\ntmp-second-line" end if lf_in_path_allowed? - def test_mkdir_pathname + def test_mkdir_pathname # pathname assert_nothing_raised { mkdir Pathname.new('tmp/tmpdirtmp') |