diff options
Diffstat (limited to 'test')
-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 |