[Groonga-commit] groonga/grnxx at 64945da [master] Update a test for Column to use match().

Back to archive index

susumu.yata null+****@clear*****
Tue Dec 16 10:44:28 JST 2014


susumu.yata	2014-11-19 15:36:20 +0900 (Wed, 19 Nov 2014)

  New Revision: 64945da4c12e285130e74fa99f4e2dadd26fe7f2
  https://github.com/groonga/grnxx/commit/64945da4c12e285130e74fa99f4e2dadd26fe7f2

  Message:
    Update a test for Column to use match().

  Modified files:
    test/test_column.cpp

  Modified: test/test_column.cpp (+1 -1)
===================================================================
--- test/test_column.cpp    2014-11-19 15:15:35 +0900 (6c809b7)
+++ test/test_column.cpp    2014-11-19 15:36:20 +0900 (e7baa14)
@@ -235,7 +235,7 @@ void test_column() {
   reference_column->set(row_id, row_id);
   reference_column->get(row_id, &datum);
   assert(datum.type() == grnxx::INT_DATA);
-  assert(datum.as_int().value() == row_id.value());
+  assert(datum.as_int().match(row_id));
 
   grnxx::Bool bool_vector_value[] = {
     grnxx::Bool(true),
-------------- next part --------------
HTML����������������������������...
Download 



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