[Groonga-commit] groonga/groonga at 930f8a9 [master] test scorer: fix wrong expect value

Back to archive index

Yasuhiro Horimoto null+****@clear*****
Tue Sep 25 12:14:07 JST 2018


Yasuhiro Horimoto	2018-09-25 12:14:07 +0900 (Tue, 25 Sep 2018)

  Revision: 930f8a9f2022e5d454a0a974a0260c62c456568f
  https://github.com/groonga/groonga/commit/930f8a9f2022e5d454a0a974a0260c62c456568f

  Merged c38c8e1: Merge pull request #873 from komainu8/fix_test_for_scorer

  Message:
    test scorer: fix wrong expect value
    
    Becuase `[] != ""` is true.

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

  Modified: test/command/suite/select/scorer/expression/not_match.expected (+1 -1)
===================================================================
--- test/command/suite/select/scorer/expression/not_match.expected    2018-09-25 11:36:35 +0900 (288092d6d)
+++ test/command/suite/select/scorer/expression/not_match.expected    2018-09-25 12:14:07 +0900 (28b9467eb)
@@ -8,4 +8,4 @@ load --table Users
 ]
 [[0,0.0,0.0],1]
 select Users   --filter true   --scorer '_score = (tags != "")'   --output_columns _score
-[[0,0.0,0.0],[[[1],[["_score","Int32"]],[0]]]]
+[[0,0.0,0.0],[[[1],[["_score","Int32"]],[1]]]]
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180925/97c01d49/attachment-0001.htm 



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