aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/slice/slice_buffer_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/slice/slice_buffer_test.c')
-rw-r--r--test/core/slice/slice_buffer_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/slice/slice_buffer_test.c b/test/core/slice/slice_buffer_test.c
index bf9ae197d2..41cff3d4d2 100644
--- a/test/core/slice/slice_buffer_test.c
+++ b/test/core/slice/slice_buffer_test.c
@@ -115,8 +115,8 @@ void test_slice_buffer_move_first() {
grpc_slice_buffer_move_first(&src, 2, &dst);
src_len -= 2;
dst_len += 2;
- GPR_ASSERT(src.length == src.length);
- GPR_ASSERT(dst.length == dst.length);
+ GPR_ASSERT(src.length == src_len);
+ GPR_ASSERT(dst.length == dst_len);
}
int main(int argc, char **argv) {