Skip to content
Snippets Groups Projects
Commit 4a9cdf58 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Fix a bug in the test case for tnt_tuple_set.

parent 9470dc39
No related branches found
No related tags found
No related merge requests found
......@@ -201,6 +201,7 @@ static void tt_tnt_tuple_set(struct tt_test *test) {
tnt_enc_write(buf + off, 64);
off += esize + 64;
struct tnt_tuple t;
tnt_tuple_init(&t);
TT_ASSERT(tnt_tuple_set(&t, buf, 70) == NULL);
TT_ASSERT(tnt_tuple_set(&t, buf, sizeof(buf)) != NULL);
tnt_tuple_free(&t);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment