Navigation Menu

Skip to content

Commit

Permalink
fix test code for mrn_rnd_next.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikdttr committed Jul 28, 2009
1 parent 13380ab commit 4eecee7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/test-driver.c
Expand Up @@ -503,11 +503,13 @@ void test_mrn_rnd_next()
info->columns[0]->name = "c1";
info->columns[0]->name_size = strlen("c1");
info->columns[0]->flags |= GRN_OBJ_COLUMN_SCALAR;
info->columns[0]->gtype = GRN_DB_INT32;
info->columns[0]->type = grn_ctx_at(ctx, GRN_DB_INT32);

info->columns[1]->name = "c2";
info->columns[1]->name_size = strlen("c2");
info->columns[1]->flags |= GRN_OBJ_COLUMN_SCALAR;
info->columns[1]->gtype = GRN_DB_TEXT;
info->columns[1]->type = grn_ctx_at(ctx, GRN_DB_TEXT);

cut_assert_equal_int(0, mrn_create(ctx, info));
Expand Down

0 comments on commit 4eecee7

Please sign in to comment.