1010#include " catch.hpp"
1111
1212using iter::chain;
13- using itertest::SolidInt;
1413using itertest::BasicIterable;
14+ using itertest::SolidInt;
1515using Vec = const std::vector<char >;
1616
1717TEST_CASE (" chain: three strings" , " [chain]" ) {
@@ -28,8 +28,8 @@ TEST_CASE("chain: three strings", "[chain]") {
2828
2929TEST_CASE (" chain: const iteration" , " [chain][const]" ) {
3030 std::string s1{" abc" };
31- /* const */ std::string s2{" mno" };
32- auto ch = chain (s1, s2, std::string{" xyz" });
31+ const std::string s2{" mno" };
32+ const auto ch = chain (s1, s2, std::string{" xyz" });
3333
3434 Vec v (std::begin (ch), std::end (ch));
3535 Vec vc{' a' , ' b' , ' c' , ' m' , ' n' , ' o' , ' x' , ' y' , ' z' };
@@ -309,8 +309,8 @@ template <typename T>
309309using ImpT2 = decltype (chain.from_iterable(std::declval<T>()));
310310TEST_CASE (" chain.from_iterable: has correct ctor and assign ops" ,
311311 " [chain.from_iterable]" ) {
312- REQUIRE (itertest::IsMoveConstructibleOnly<ImpT2<std::vector<std::string>>>::
313- value);
314- REQUIRE (itertest::IsMoveConstructibleOnly<ImpT2<std::vector<std::string>&>>::
315- value);
312+ REQUIRE (itertest::IsMoveConstructibleOnly<
313+ ImpT2<std::vector<std::string>>>:: value);
314+ REQUIRE (itertest::IsMoveConstructibleOnly<
315+ ImpT2<std::vector<std::string>&>>:: value);
316316}
0 commit comments