mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_file_exhaustive.rb
(TestFileExhaustive#test_stat_socket_p): r50226 accidentally missed the guard for non-unix environments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cfaddc2a32
commit
7c9e01d3c8
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Sat Apr 11 21:02:06 2015 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* 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@gmail.com>
|
||||
|
||||
* ext/json/*, test/json/*, defs/default_gems: Gemify JSON library.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue