summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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?)