[pstl] Use logical operator for loop condition in tests
authorzoecarver <z.zoelec2@gmail.com>
Thu, 13 May 2021 17:09:15 +0000 (10:09 -0700)
committerzoecarver <z.zoelec2@gmail.com>
Thu, 13 May 2021 17:11:40 +0000 (10:11 -0700)
commit7f607ac6af0e2ee8a7d721d3ba427536deffcd3f
tree210c8cf11fb20187bfc9fc984fd1f27bc694a982
parent7c2afd5899df876eaf5ffb485194dc58e92daf89
[pstl] Use logical operator for loop condition in tests

Fix a probable typo in two PSTL tests that causes warnings with GCC.

Patch by Jonathan Wakely (jwakely).

Reviewed By: zoecarver

Differential Revision: https://reviews.llvm.org/D102327
pstl/test/std/algorithms/alg.nonmodifying/find_end.pass.cpp
pstl/test/std/algorithms/alg.nonmodifying/search_n.pass.cpp