[Groonga-commit] groonga/groonga at ea43799 [master] test: stop to use too special value

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Sep 11 14:16:07 JST 2018


Kouhei Sutou	2018-09-11 14:16:07 +0900 (Tue, 11 Sep 2018)

  Revision: ea437999f5c6cacf1e0b0b07e006350566e741bb
  https://github.com/groonga/groonga/commit/ea437999f5c6cacf1e0b0b07e006350566e741bb

  Message:
    test: stop to use too special value
    
    We don't need to use "" for this case.

  Modified files:
    test/command/suite/select/scorer/expression/reference.expected
    test/command/suite/select/scorer/expression/reference.test

  Modified: test/command/suite/select/scorer/expression/reference.expected (+1 -1)
===================================================================
--- test/command/suite/select/scorer/expression/reference.expected    2018-09-11 14:15:17 +0900 (84bbe1f6c)
+++ test/command/suite/select/scorer/expression/reference.expected    2018-09-11 14:16:07 +0900 (d408a59c4)
@@ -9,5 +9,5 @@ load --table Users
 {"_key": "alice", "tags": ["book", "people"]}
 ]
 [[0,0.0,0.0],1]
-select Users   --filter true   --scorer '_score = (tags._key != "")'   --output_columns _score
+select Users   --filter true   --scorer '_score = (tags._key != "cat")'   --output_columns _score
 [[0,0.0,0.0],[[[1],[["_score","Int32"]],[1]]]]

  Modified: test/command/suite/select/scorer/expression/reference.test (+1 -1)
===================================================================
--- test/command/suite/select/scorer/expression/reference.test    2018-09-11 14:15:17 +0900 (0726182a8)
+++ test/command/suite/select/scorer/expression/reference.test    2018-09-11 14:16:07 +0900 (8cb384ef6)
@@ -7,5 +7,5 @@ load --table Users
 ]
 select Users \
   --filter true \
-  --scorer '_score = (tags._key != "")' \
+  --scorer '_score = (tags._key != "cat")' \
   --output_columns _score
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180911/739965d7/attachment.htm 



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