1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

add an assertion.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2012-04-30 14:45:31 +00:00
parent 7d89ecdc52
commit 52af87a5a7

View file

@ -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