[libc++] [test] Simplify arithmetic in list.special/swap.pass.cpp. NFCI.
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Thu, 6 May 2021 15:53:10 +0000 (11:53 -0400)
committerArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Fri, 7 May 2021 14:03:52 +0000 (10:03 -0400)
commita1f75bf091a20132dc44828a2a9a68d559f922f3
tree35d87b180b956ef10acb419489fe63086fcc351a
parent8935c8449b7b17049990d29443ed29dde315f281
[libc++] [test] Simplify arithmetic in list.special/swap.pass.cpp. NFCI.

Part of https://reviews.llvm.org/D102003
libcxx/test/std/containers/sequences/list/list.special/swap.pass.cpp