]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/tests/testString.cc
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / tests / testString.cc
index 090d426ee4ed5d5abe49f1ebb087ee8138ad8a47..89373cc751de4e6613e6001b48f058496b611af4 100644 (file)
@@ -1,10 +1,16 @@
-#define SQUID_UNIT_TEST 1
+/*
+ * 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.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
 
 #include "squid.h"
 #include "event.h"
-#include "Mem.h"
 #include "SquidString.h"
 #include "testString.h"
+#include "unitTestMain.h"
 
 CPPUNIT_TEST_SUITE_REGISTRATION( testString );
 
@@ -68,3 +74,4 @@ void testString::testSubstr()
     String ref("34");
     CPPUNIT_ASSERT(check == ref);
 }
+