diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-30 14:45:31 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-30 14:45:31 +0000 |
commit | 52af87a5a75f1d5bba26b8884cfa6c466ffee680 (patch) | |
tree | b9913a45894a9850d456a5b0b343f003e37c9e8c /test/fileutils | |
parent | 7d89ecdc523aab7b9908501b6743da2c26a53825 (diff) |
add an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/fileutils')
-rw-r--r-- | test/fileutils/test_fileutils.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb index 2549458fa2..68d503dac4 100644 --- a/test/fileutils/test_fileutils.rb +++ b/test/fileutils/test_fileutils.rb @@ -333,7 +333,9 @@ class TestFileUtils touch 'tmp/cross/b/f' ln_s '../a/f', 'tmp/cross/b/l' ln_s '../b/f', 'tmp/cross/a/l' - cp_r 'tmp/cross', 'tmp/cross2', :preserve => true + assert_nothing_raised { + cp_r 'tmp/cross', 'tmp/cross2', :preserve => true + } end if have_symlink? def test_cp_r_pathname |