]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/tests/testSBufList.cc
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / tests / testSBufList.cc
index 01fdf828c734aace44d2a541b90ecdf63360d612..6a93b00d26d60e6fee99209b0aad2c18ae64e1bf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -43,9 +43,9 @@ testSBufList::testSBufListJoin()
     SBuf joined=JoinContainerToSBuf(foo.begin(), foo.end(),SBuf(" "));
     CPPUNIT_ASSERT_EQUAL(literal,joined);
     SBuf s1("1"), s2("2"), s3("3"), full("(1,2,3)");
-    SBufList sl{s1,s2,s3};
+    SBufList sl {s1,s2,s3};
     CPPUNIT_ASSERT_EQUAL(full, JoinContainerToSBuf(sl.begin(),
-               sl.end(), SBuf(","), SBuf("("), SBuf(")")));
+                         sl.end(), SBuf(","), SBuf("("), SBuf(")")));
 
     CPPUNIT_ASSERT_EQUAL(SBuf(""),JoinContainerToSBuf(foo.begin(), foo.begin(),SBuf()));