diff options
author | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2017-06-20 21:00:02 +0000 |
---|---|---|
committer | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2017-06-20 21:00:02 +0000 |
commit | 5984426f91282bdca4f4bb6552bbc4d3841ad32d (patch) | |
tree | aee0e7d60a4eb10d11b161ba1e977a29d232ecd3 /libcxx/test/std/algorithms/alg.nonmodifying | |
parent | f765cad13eb49dd718224d124160aa3a03443812 (diff) | |
download | bcm5719-llvm-5984426f91282bdca4f4bb6552bbc4d3841ad32d.tar.gz bcm5719-llvm-5984426f91282bdca4f4bb6552bbc4d3841ad32d.zip |
[libcxx] [test] Strip trailing whitespace. NFC.
llvm-svn: 305848
Diffstat (limited to 'libcxx/test/std/algorithms/alg.nonmodifying')
-rw-r--r-- | libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/for_each_n.pass.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/for_each_n.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/for_each_n.pass.cpp index fd24edb4306..9b391f01cea 100644 --- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/for_each_n.pass.cpp +++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/for_each_n.pass.cpp @@ -36,15 +36,15 @@ int main() auto f = for_each_test(0); Iter it = std::for_each_n(Iter(ia), 0, std::ref(f)); assert(it == Iter(ia)); - assert(f.count == 0); + assert(f.count == 0); } { auto f = for_each_test(0); Iter it = std::for_each_n(Iter(ia), s, std::ref(f)); - + assert(it == Iter(ia+s)); - assert(f.count == s); + assert(f.count == s); for (unsigned i = 0; i < s; ++i) assert(ia[i] == static_cast<int>(i+1)); } @@ -52,9 +52,9 @@ int main() { auto f = for_each_test(0); Iter it = std::for_each_n(Iter(ia), 1, std::ref(f)); - + assert(it == Iter(ia+1)); - assert(f.count == 1); + assert(f.count == 1); for (unsigned i = 0; i < 1; ++i) assert(ia[i] == static_cast<int>(i+2)); } |