[前][次][番号順一覧][スレッド一覧]

ruby-changes:38148

From: akr <ko1@a...>
Date: Sat, 11 Apr 2015 16:34:11 +0900 (JST)
Subject: [ruby-changes:38148] akr:r50229 (trunk): simplified.

akr	2015-04-11 16:34:06 +0900 (Sat, 11 Apr 2015)

  New Revision: 50229

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50229

  Log:
    simplified.

  Modified files:
    trunk/test/ruby/test_file_exhaustive.rb
Index: test/ruby/test_file_exhaustive.rb
===================================================================
--- test/ruby/test_file_exhaustive.rb	(revision 50228)
+++ test/ruby/test_file_exhaustive.rb	(revision 50229)
@@ -1151,7 +1151,7 @@ class TestFileExhaustive < Test::Unit::T https://github.com/ruby/ruby/blob/trunk/test/ruby/test_file_exhaustive.rb#L1151
   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?)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]