[Groonga-commit] groonga/groonga-query-log at ea04670 [master] test: use string for label

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jul 23 13:37:19 JST 2014


Kouhei Sutou	2014-07-23 13:37:19 +0900 (Wed, 23 Jul 2014)

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

  Message:
    test: use string for label

  Modified files:
    test/test-analyzer.rb

  Modified: test/test-analyzer.rb (+4 -3)
===================================================================
--- test/test-analyzer.rb    2014-07-23 13:36:39 +0900 (121d869)
+++ test/test-analyzer.rb    2014-07-23 13:37:19 +0900 (e1dd4e2)
@@ -1,5 +1,6 @@
 # -*- coding: utf-8 -*-
 #
+# Copyright (C) 2014  Kouhei Sutou <kou �� clear-code.com>
 # Copyright (C) 2012  Haruka Yoshihara <yoshihara �� clear-code.com>
 #
 # This library is free software; you can redistribute it and/or
@@ -47,9 +48,9 @@ class AnalyzerTest < Test::Unit::TestCase
     end
   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"
-------------- next part --------------
HTML����������������������������...
Download 



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