[前][次][番号順一覧][スレッド一覧]

ruby-changes:32309

From: nobu <ko1@a...>
Date: Wed, 25 Dec 2013 00:36:36 +0900 (JST)
Subject: [ruby-changes:32309] nobu:r44388 (trunk): test_fileutils.rb: fix test

nobu	2013-12-25 00:36:29 +0900 (Wed, 25 Dec 2013)

  New Revision: 44388

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44388

  Log:
    test_fileutils.rb: fix test
    
    * test/fileutils/test_fileutils.rb (test_chown_error): splat uids.

  Modified files:
    trunk/test/fileutils/test_fileutils.rb
Index: test/fileutils/test_fileutils.rb
===================================================================
--- test/fileutils/test_fileutils.rb	(revision 44387)
+++ test/fileutils/test_fileutils.rb	(revision 44388)
@@ -1123,7 +1123,7 @@ class TestFileUtils < Test::Unit::TestCa https://github.com/ruby/ruby/blob/trunk/test/fileutils/test_fileutils.rb#L1123
 
   if have_file_perm?
     def test_chown_error
-      uid = distinct_uids(1)
+      uid, = distinct_uids(1)
       return unless uid
 
       touch 'tmp/a'

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]