]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/tests/testSBuf.h
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / tests / testSBuf.h
index c3f61d1da5cff3b94fb8d9bff279d6068232abf4..72cbb7bebd027130de42d538fdf32c96f4e3799b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2018 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.
@@ -11,7 +11,7 @@
 
 #include <cppunit/extensions/HelperMacros.h>
 
-#include "sbuf/OutOfBoundsException.h"
+#include "base/TextException.h"
 
 /*
  * test the SBuf functionalities
@@ -30,7 +30,7 @@ class testSBuf : public CPPUNIT_NS::TestFixture
     CPPUNIT_TEST( testAppendStdString );
     CPPUNIT_TEST( testAppendf );
     CPPUNIT_TEST( testSubscriptOp );
-    CPPUNIT_TEST_EXCEPTION( testSubscriptOpFail, OutOfBoundsException );
+    CPPUNIT_TEST_EXCEPTION( testSubscriptOpFail, TextException );
     CPPUNIT_TEST( testComparisons );
     CPPUNIT_TEST( testConsume );
     CPPUNIT_TEST( testRawContent );