From 52af87a5a75f1d5bba26b8884cfa6c466ffee680 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 30 Apr 2012 14:45:31 +0000 Subject: add an assertion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/fileutils/test_fileutils.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/fileutils/test_fileutils.rb') 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 -- cgit v1.2.3