aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/slice
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-04-27 21:58:41 +0000
committerGravatar Craig Tiller <ctiller@google.com>2017-04-27 21:58:41 +0000
commit7ef85e5a309287b1ff33fe5561b800d40842ced7 (patch)
tree27fec4db8525fe6483302db0c70c6758a14e9c7e /test/core/slice
parent4865c79548d4f83ebae4e10fbaf4c3ba10535c97 (diff)
Fix bogus asserts
Diffstat (limited to 'test/core/slice')
-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) {