summaryrefslogtreecommitdiff
path: root/lib/buffer_test.c
diff options
context:
space:
mode:
authorPavel Tvrdik <pawel.tvrdik@gmail.com>2016-11-11 17:43:09 +0100
committerPavel Tvrdik <pawel.tvrdik@gmail.com>2016-11-11 17:43:09 +0100
commit5e3cd0e5b56e6c58cfba4d0d38fbbbed3657889d (patch)
tree3e96b946c06176731b1d2ba27605dc257ef9c7bc /lib/buffer_test.c
parentfa71b268a8d15d579f50d7f4f92e2edb3b431e05 (diff)
Birdtest: Replace BT_SUCCESS and BT_FAILURE with 1 and 0
Diffstat (limited to 'lib/buffer_test.c')
-rw-r--r--lib/buffer_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/buffer_test.c b/lib/buffer_test.c
index 38e540b7..55179e82 100644
--- a/lib/buffer_test.c
+++ b/lib/buffer_test.c
@@ -69,7 +69,7 @@ t_buffer_push(void)
BUFFER_PUSH(buf) = expected[i];
is_buffer_as_expected(&buf);
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -97,7 +97,7 @@ t_buffer_pop(void)
BUFFER_PUSH(buf) = expected[i];
is_buffer_as_expected(&buf);
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -114,7 +114,7 @@ t_buffer_resize(void)
is_buffer_as_expected(&buf);
bt_assert(buf.size >= MAX_NUM);
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -130,7 +130,7 @@ t_buffer_flush(void)
BUFFER_FLUSH(buf);
bt_assert(buf.used == 0);
- return BT_SUCCESS;
+ return 1;
}
int