1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

simplified.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2015-04-11 07:34:06 +00:00
parent 7ca24e0b1b
commit 3d2468240d

View file

@ -1151,7 +1151,7 @@ class TestFileExhaustive < Test::Unit::TestCase
def test_stat_pipe_p
assert(!(File::Stat.new(@dir).pipe?))
assert(!(File::Stat.new(regular_file).pipe?))
assert((File::Stat.new(fifo).pipe?)) if fifo
assert(File::Stat.new(fifo).pipe?) if fifo
IO.pipe {|r, w|
assert(r.stat.pipe?)
assert(w.stat.pipe?)