diff options
Diffstat (limited to 'test/ruby/test_file_exhaustive.rb')
-rw-r--r-- | test/ruby/test_file_exhaustive.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |