[Groonga-commit] groonga/groonga at a81ab00 [master] test: simplify

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jan 26 22:59:51 JST 2014


Kouhei Sutou	2014-01-26 22:59:51 +0900 (Sun, 26 Jan 2014)

  New Revision: a81ab00c1b876af0864c326366021016d3a776cf
  https://github.com/groonga/groonga/commit/a81ab00c1b876af0864c326366021016d3a776cf

  Message:
    test: simplify
    
    The important thing in the test is "_score" value.

  Modified files:
    test/command/suite/select/filter/no_index/score/vector/empty.expected
    test/command/suite/select/filter/no_index/score/vector/empty.test

  Modified: test/command/suite/select/filter/no_index/score/vector/empty.expected (+2 -2)
===================================================================
--- test/command/suite/select/filter/no_index/score/vector/empty.expected    2014-01-26 22:58:36 +0900 (6126565)
+++ test/command/suite/select/filter/no_index/score/vector/empty.expected    2014-01-26 22:59:51 +0900 (fdb6128)
@@ -7,5 +7,5 @@ load --table Records
 {"_key": "empty", "tags": []}
 ]
 [[0,0.0,0.0],1]
-select Records   --output_columns '_id, tags || "default"'   --command_version 2
-[[0,0.0,0.0],[[[1],[["_id","UInt32"],["tags","ShortText"]],[1,[]]]]]
+select Records --filter tags --output_columns _score
+[[0,0.0,0.0],[[[1],[["_score","Int32"]],[1]]]]

  Modified: test/command/suite/select/filter/no_index/score/vector/empty.test (+1 -3)
===================================================================
--- test/command/suite/select/filter/no_index/score/vector/empty.test    2014-01-26 22:58:36 +0900 (f90caf8)
+++ test/command/suite/select/filter/no_index/score/vector/empty.test    2014-01-26 22:59:51 +0900 (c541f43)
@@ -6,6 +6,4 @@ load --table Records
 {"_key": "empty", "tags": []}
 ]
 
-select Records \
-  --output_columns '_id, tags || "default"' \
-  --command_version 2
+select Records --filter tags --output_columns _score
-------------- next part --------------
HTML����������������������������...
下載 



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