[Groonga-commit] groonga/grnxx at 3602866 [master] Update a test for Expression to use raw_size(). (#116)

Back to archive index

susumu.yata null+****@clear*****
Tue Dec 16 10:52:55 JST 2014


susumu.yata	2014-11-25 16:48:57 +0900 (Tue, 25 Nov 2014)

  New Revision: 360286675d60bd6578102cdd0c72533e695d1622
  https://github.com/groonga/grnxx/commit/360286675d60bd6578102cdd0c72533e695d1622

  Message:
    Update a test for Expression to use raw_size(). (#116)

  Modified files:
    test/test_expression.cpp

  Modified: test/test_expression.cpp (+1 -1)
===================================================================
--- test/test_expression.cpp    2014-11-25 16:48:21 +0900 (fdbdbdd)
+++ test/test_expression.cpp    2014-11-25 16:48:57 +0900 (e4a1282)
@@ -2617,7 +2617,7 @@ void test_subexpression() {
     size_t row_id = records[i].row_id.raw();
     const auto ref_vector_value = test.ref_vector_values[row_id];
     assert(int_vector_results[i].size().match(ref_vector_value.size()));
-    size_t value_size = ref_vector_value.size().raw();
+    size_t value_size = ref_vector_value.raw_size();
     for (size_t j = 0; j < value_size; ++j) {
       grnxx::Int ref_value = ref_vector_value[j];
       const auto int_value = test.int_values[ref_value.raw()];
-------------- next part --------------
HTML����������������������������...
Download 



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