[Groonga-commit] groonga/groonga [master] [test][msgpack] use the same style.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 12月 27日 (火) 17:36:37 JST


Kouhei Sutou	2011-12-27 17:36:37 +0900 (Tue, 27 Dec 2011)

  New Revision: 928468494e2c1a3cad8611516705775b350042c7

  Log:
    [test][msgpack] use the same style.

  Modified files:
    test/unit/lib/ruby/groonga-http-test-utils.rb

  Modified: test/unit/lib/ruby/groonga-http-test-utils.rb (+3 -3)
===================================================================
--- test/unit/lib/ruby/groonga-http-test-utils.rb    2011-12-27 17:16:19 +0900 (cb908c1)
+++ test/unit/lib/ruby/groonga-http-test-utils.rb    2011-12-27 17:36:37 +0900 (f3e0972)
@@ -255,15 +255,15 @@ module GroongaHTTPTestUtils
 
     hex_sublines = []
     binary.each_slice(bytes_per_subline) do |binary_subline|
-      hex_sublines << binary_subline.collect{|byte| '%02x' % byte}.join(' ')
+      hex_sublines << binary_subline.collect {|byte| '%02x' % byte}.join(' ')
     end
     hex_sublines.join(sublines_delimiter).ljust(hex_part_length)
   end
 
   def hexdump_ascii_part(binary)
-    binary.collect{|byte|
+    binary.collect do |byte|
       (0x20..0x7e).include?(byte) ? byte.chr : '.'
-    }.join
+    end.join
   end
 
   def hexdump(str)




Groonga-commit メーリングリストの案内
Back to archive index