diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | test/ruby/test_file_exhaustive.rb | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Sat Apr 11 21:02:06 2015 NAKAMURA Usaku <[email protected]> + + * 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 <[email protected]> * ext/json/*, test/json/*, defs/default_gems: Gemify JSON library. diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index 9bf99b12ef..ee4045ee6d 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -1169,7 +1169,7 @@ class TestFileExhaustive < Test::Unit::TestCase 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 |