ruby-changes:38151
From: usa <ko1@a...>
Date: Sat, 11 Apr 2015 21:03:46 +0900 (JST)
Subject: [ruby-changes:38151] usa:r50232 (trunk): * test/ruby/test_file_exhaustive.rb
usa 2015-04-11 21:03:31 +0900 (Sat, 11 Apr 2015) New Revision: 50232 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50232 Log: * test/ruby/test_file_exhaustive.rb (TestFileExhaustive#test_stat_socket_p): r50226 accidentally missed the guard for non-unix environments. Modified files: trunk/ChangeLog trunk/test/ruby/test_file_exhaustive.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 50231) +++ ChangeLog (revision 50232) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Apr 11 21:02:06 2015 NAKAMURA Usaku <usa@r...> + + * test/ruby/test_file_exhaustive.rb + (TestFileExhaustive#test_stat_socket_p): r50226 accidentally missed + the guard for non-unix environments. + Sat Apr 11 20:14:21 2015 SHIBATA Hiroshi <shibata.hiroshi@g...> * ext/json/*, test/json/*, defs/default_gems: Gemify JSON library. Index: test/ruby/test_file_exhaustive.rb =================================================================== --- test/ruby/test_file_exhaustive.rb (revision 50231) +++ test/ruby/test_file_exhaustive.rb (revision 50232) @@ -1169,7 +1169,7 @@ class TestFileExhaustive < Test::Unit::T https://github.com/ruby/ruby/blob/trunk/test/ruby/test_file_exhaustive.rb#L1169 def test_stat_socket_p assert(!(File::Stat.new(@dir).socket?)) assert(!(File::Stat.new(regular_file).socket?)) - assert(File::Stat.new(socket).socket?) + assert(File::Stat.new(socket).socket?) if socket end def test_stat_blockdev_p ## xxx -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/