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:
parent
7d89ecdc52
commit
52af87a5a7
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue