summaryrefslogtreecommitdiff
path: root/lib/buffer_test.c
diff options
context:
space:
mode:
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