mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 09:04:05 +02: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'
|
touch 'tmp/cross/b/f'
|
||||||
ln_s '../a/f', 'tmp/cross/b/l'
|
ln_s '../a/f', 'tmp/cross/b/l'
|
||||||
ln_s '../b/f', 'tmp/cross/a/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?
|
end if have_symlink?
|
||||||
|
|
||||||
def test_cp_r_pathname
|
def test_cp_r_pathname
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue