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

ruby-changes:30506

From: ko1 <ko1@a...>
Date: Fri, 16 Aug 2013 18:10:21 +0900 (JST)
Subject: [ruby-changes:30506] ko1:r42585 (trunk): * test/profile_test_all.rb: remove space characters from test names.

ko1	2013-08-16 18:10:06 +0900 (Fri, 16 Aug 2013)

  New Revision: 42585

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

  Log:
    * test/profile_test_all.rb: remove space characters from test names.

  Modified files:
    trunk/ChangeLog
    trunk/test/profile_test_all.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42584)
+++ ChangeLog	(revision 42585)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Aug 16 18:09:20 2013  Koichi Sasada  <ko1@a...>
+
+	* test/profile_test_all.rb: remove space characters from test names.
+
 Fri Aug 16 17:32:02 2013  Koichi Sasada  <ko1@a...>
 
 	* test/profile_test_all.rb: refactoring memory profiling tool for
Index: test/profile_test_all.rb
===================================================================
--- test/profile_test_all.rb	(revision 42584)
+++ test/profile_test_all.rb	(revision 42585)
@@ -65,7 +65,7 @@ class MiniTest::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/profile_test_all.rb#L65
   end
 
   def memprofile_test_all_result_result
-    result = ["#{self.class}\##{self.__name__}"]
+    result = ["#{self.class}\##{self.__name__.to_s.gsub(/\s+/, '')}"]
     TEST_ALL_PROFILE_PROCS.each{|proc|
       proc.call(result)
     }

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

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