aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-05-01 14:34:13 -0700
committerGravatar GitHub <noreply@github.com>2017-05-01 14:34:13 -0700
commit9162f7518851e4114ed475513f542f284ce9111a (patch)
tree2c4b26a9af8163227bf11003623835a4845715b6 /test
parent3d88269c130ff844854bf8168dc3dd07ac765bab (diff)
parent7ef85e5a309287b1ff33fe5561b800d40842ced7 (diff)
Merge pull request #10896 from ctiller/sbtest
Fix bogus asserts
Diffstat (limited to 'test')
-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) {