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

ruby-changes:30733

From: akr <ko1@a...>
Date: Tue, 3 Sep 2013 22:22:10 +0900 (JST)
Subject: [ruby-changes:30733] akr:r42812 (trunk): Fix a typo.

akr	2013-09-03 22:22:05 +0900 (Tue, 03 Sep 2013)

  New Revision: 42812

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

  Log:
    Fix a typo.

  Modified files:
    trunk/test/ruby/test_process.rb
Index: test/ruby/test_process.rb
===================================================================
--- test/ruby/test_process.rb	(revision 42811)
+++ test/ruby/test_process.rb	(revision 42812)
@@ -1740,7 +1740,7 @@ EOS https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L1740
   end
 
   def test_clock_getres
-    r = Process.clock_gettime(Process::CLOCK_REALTIME, :nanosecond)
+    r = Process.clock_getres(Process::CLOCK_REALTIME, :nanosecond)
     assert_kind_of(Integer, r)
     assert_raise(Errno::EINVAL) { Process.clock_getres(:foo) }
   end

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

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