1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2013-08-16 09:10:06 +00:00
parent 769715bda5
commit 55251d0c83
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Fri Aug 16 18:09:20 2013 Koichi Sasada <ko1@atdot.net>
* test/profile_test_all.rb: remove space characters from test names.
Fri Aug 16 17:32:02 2013 Koichi Sasada <ko1@atdot.net> Fri Aug 16 17:32:02 2013 Koichi Sasada <ko1@atdot.net>
* test/profile_test_all.rb: refactoring memory profiling tool for * test/profile_test_all.rb: refactoring memory profiling tool for

View file

@ -65,7 +65,7 @@ class MiniTest::Unit::TestCase
end end
def memprofile_test_all_result_result 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| TEST_ALL_PROFILE_PROCS.each{|proc|
proc.call(result) proc.call(result)
} }