aboutsummaryrefslogtreecommitdiffstats
path: root/test/fileutils
diff options
context:
space:
mode:
Diffstat (limited to 'test/fileutils')
-rw-r--r--test/fileutils/test_fileutils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb
index 24d4f3c566..b733488cf8 100644
--- a/test/fileutils/test_fileutils.rb
+++ b/test/fileutils/test_fileutils.rb
@@ -1170,7 +1170,7 @@ class TestFileUtils < Test::Unit::TestCase
return unless uid_1 and uid_2
touch 'tmp/a'
- exception = assert_raise(Errno::EPERM) {
+ assert_raise(Errno::EPERM) {
chown uid_1, nil, 'tmp/a'
chown uid_2, nil, 'tmp/a'
}