ruby-changes:54205
From: nobu <ko1@a...>
Date: Mon, 17 Dec 2018 13:58:55 +0900 (JST)
Subject: [ruby-changes:54205] nobu:r66426 (trunk): Already nlink is properly set on Windows
nobu 2018-12-17 13:58:50 +0900 (Mon, 17 Dec 2018) New Revision: 66426 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66426 Log: Already nlink is properly set on Windows Modified files: trunk/test/ruby/test_file_exhaustive.rb Index: test/ruby/test_file_exhaustive.rb =================================================================== --- test/ruby/test_file_exhaustive.rb (revision 66425) +++ test/ruby/test_file_exhaustive.rb (revision 66426) @@ -1521,11 +1521,7 @@ class TestFileExhaustive < Test::Unit::T https://github.com/ruby/ruby/blob/trunk/test/ruby/test_file_exhaustive.rb#L1521 assert_integer_or_nil(fs1.rdev_minor) assert_integer(fs1.ino) assert_integer(fs1.mode) - unless /emx|mswin|mingw/ =~ RUBY_PLATFORM - # on Windows, nlink is always 1. but this behavior will be changed - # in the future. - assert_equal(hardlinkfile ? 2 : 1, fs1.nlink) - end + assert_equal(hardlinkfile ? 2 : 1, fs1.nlink) assert_integer(fs1.uid) assert_integer(fs1.gid) assert_equal(3, fs1.size) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/