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

ruby-changes:33601

From: naruse <ko1@a...>
Date: Wed, 23 Apr 2014 12:26:50 +0900 (JST)
Subject: [ruby-changes:33601] naruse:r45682 (trunk): fix typo

naruse	2014-04-23 12:26:42 +0900 (Wed, 23 Apr 2014)

  New Revision: 45682

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

  Log:
    fix typo

  Modified files:
    trunk/test/ruby/test_io.rb
Index: test/ruby/test_io.rb
===================================================================
--- test/ruby/test_io.rb	(revision 45681)
+++ test/ruby/test_io.rb	(revision 45682)
@@ -1675,7 +1675,7 @@ class TestIO < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L1675
       when 0xEF53 # EXT2_SUPER_MAGIC EXT3_SUPER_MAGIC EXT4_SUPER_MAGIC
         # ext3's timestamp resolution is seconds
         s = f.stat
-        stat.mtime.nsec != 0 || stat.atime.nsec != 0 || stat.ctime.nsec != 0
+        s.mtime.nsec != 0 || s.atime.nsec != 0 || s.ctime.nsec != 0
       when 0x58465342 # XFS_SUPER_MAGIC
       when 0x01021994 # TMPFS_MAGIC
       else

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

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