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

ruby-changes:38941

From: nobu <ko1@a...>
Date: Thu, 25 Jun 2015 14:14:36 +0900 (JST)
Subject: [ruby-changes:38941] nobu:r51022 (trunk): test_prime.rb: cosmetic changes

nobu	2015-06-25 14:14:18 +0900 (Thu, 25 Jun 2015)

  New Revision: 51022

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

  Log:
    test_prime.rb: cosmetic changes
    
    * test/test_prime.rb (test_eratosthenes_works_fine_after_timeout):
      use spaces instead of TABs in ruby codes.  [Fix GH-944]

  Modified files:
    trunk/ChangeLog
    trunk/test/test_prime.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 51021)
+++ ChangeLog	(revision 51022)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jun 25 14:14:16 2015  takiy33  <takiy33@g...>
+
+	* test/test_prime.rb (test_eratosthenes_works_fine_after_timeout):
+	  use spaces instead of TABs in ruby codes.  [Fix GH-944]
+
 Thu Jun 25 07:08:35 2015  Koichi Sasada  <ko1@a...>
 
 	* gc.c (obj_info, method_type_name): show method type name in a string
Index: test/test_prime.rb
===================================================================
--- test/test_prime.rb	(revision 51021)
+++ test/test_prime.rb	(revision 51022)
@@ -180,8 +180,8 @@ class TestPrime < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/test_prime.rb#L180
       end
 
       begin
-	Timeout.timeout(0.5) { Prime.each(7*37){} }
-	flunk("timeout expected")
+        Timeout.timeout(0.5) { Prime.each(7*37){} }
+        flunk("timeout expected")
       rescue Timeout::Error
       end
     ensure

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

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