[Groonga-commit] droonga/drntest at bcc81be [master] Remove needless "json_" prefix

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Dec 17 18:02:55 JST 2013


Kouhei Sutou	2013-12-17 18:02:55 +0900 (Tue, 17 Dec 2013)

  New Revision: bcc81bec69b26d234868234ba3bc76591113bb0d
  https://github.com/droonga/drntest/commit/bcc81bec69b26d234868234ba3bc76591113bb0d

  Message:
    Remove needless "json_" prefix
    
    Parsed JSON is not JSON. It is just an object.
    
    (Sorry... The previous commit misses the changes...)

  Modified files:
    lib/drntest/test-executor.rb

  Modified: lib/drntest/test-executor.rb (+3 -3)
===================================================================
--- lib/drntest/test-executor.rb    2013-12-17 18:02:21 +0900 (650c217)
+++ lib/drntest/test-executor.rb    2013-12-17 18:02:55 +0900 (734b621)
@@ -70,9 +70,9 @@ module Drntest
             if directive.type == :include
               included = resolve_relative_path(directive.value)
               included_jsons = load_jsons(included)
-              json_objects += included_jsons
+              objects += included_jsons
             else
-              json_objects << directive
+              objects << directive
             end
           end
         else
@@ -84,7 +84,7 @@ module Drntest
           end
         end
       end
-      json_objects
+      objects
     end
 
     class Directive
-------------- next part --------------
HTML����������������������������...
Download 



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