summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-11 07:34:06 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-11 07:34:06 +0000
commit3d2468240d7b90a83db0429c4d5ef384dffd6347 (patch)
tree2003d99ccce98d998e673cf8ef86d89386796ffb /test
parent7ca24e0b1befbc8090d0ac145cc7d9c7625a500f (diff)
simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_file_exhaustive.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb
index 935fd9ec491..9bf99b12ef0 100644
--- a/test/ruby/test_file_exhaustive.rb
+++ b/test/ruby/test_file_exhaustive.rb
@@ -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?)