[Groonga-commit] groonga/groonga-query-log [master] test: align

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Dec 17 14:12:00 JST 2012


Kouhei Sutou	2012-12-17 14:12:00 +0900 (Mon, 17 Dec 2012)

  New Revision: 22131ac0014dfbf528d957033af7b92621189e04
  https://github.com/groonga/groonga-query-log/commit/22131ac0014dfbf528d957033af7b92621189e04

  Log:
    test: align

  Modified files:
    test/test-analyzer.rb

  Modified: test/test-analyzer.rb (+7 -3)
===================================================================
--- test/test-analyzer.rb    2012-12-17 14:11:00 +0900 (4b5e606)
+++ test/test-analyzer.rb    2012-12-17 14:12:00 +0900 (8949cab)
@@ -31,7 +31,9 @@ class AnalyzerTest < Test::Unit::TestCase
     @analyzer = Groonga::QueryLog::Analyzer.new
   end
 
-  data(:console => "console", :html => "html", :json => "json")
+  data(:console => "console",
+       :html    => "html",
+       :json    => "json")
   def test_reporter(reporter)
     actual_result = run_analyzer("--reporter", reporter, @query_log_path)
     actual_result = normalize_json(actual_result) if reporter == "json"
@@ -46,8 +48,10 @@ class AnalyzerTest < Test::Unit::TestCase
     assert_equal(expected_result, actual_result)
   end
 
-  data(:asc_elapsed => "elapsed", :asc_start_time => "start-time",
-         :desc_elapsed => "-elapsed", :desc_start_time => "-start-time")
+  data(:asc_elapsed     => "elapsed",
+       :asc_start_time  => "start-time",
+       :desc_elapsed    => "-elapsed",
+       :desc_start_time => "-start-time")
   def test_order(order)
     actual_result = run_analyzer("--order=#{order}", @query_log_path)
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index