]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/tests/testDiskIO.cc
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / tests / testDiskIO.cc
index c3fa1b7622de766bd9e1b8608ddb37bf2db62abd..be8b75c28508442748aa842e5be66a9b0481ac67 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -13,7 +13,6 @@
 #include "MemObject.h"
 #include "Store.h"
 #include "StoreFileSystem.h"
-#include "SwapDir.h"
 #include "testDiskIO.h"
 #include "testStoreSupport.h"
 #include "unitTestMain.h"
@@ -35,7 +34,7 @@ testDiskIO::testFindDefault()
     DiskIOModule * module = DiskIOModule::FindDefault();
 #if USE_DISKIO
     /* enabled. we expect at least ONE */
-    CPPUNIT_ASSERT(module != NULL);
+    CPPUNIT_ASSERT(module != nullptr);
 #else
     /* disabled. we don't expect ANY */
     CPPUNIT_ASSERT(module == NULL);