diff options
-rw-r--r-- | gentoobrowse-api/unittests/mockDefs.cpp | 2 | ||||
-rw-r--r-- | gentoobrowse-api/unittests/testNotifications.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/gentoobrowse-api/unittests/mockDefs.cpp b/gentoobrowse-api/unittests/mockDefs.cpp index 398e3e9..60241cd 100644 --- a/gentoobrowse-api/unittests/mockDefs.cpp +++ b/gentoobrowse-api/unittests/mockDefs.cpp @@ -73,7 +73,7 @@ TestClient::lintable_test_files(std::string_view name, IceTray::Mail::EmailPtr e text << plainPart->payload; TidyDoc tdoc = tidyCreate(); - BOOST_REQUIRE_EQUAL(1, tidyOptSetBool(tdoc, TidyIndentContent, yes)); + BOOST_REQUIRE_EQUAL(1, tidyOptSetInt(tdoc, TidyIndentContent, yes)); BOOST_REQUIRE_EQUAL(1, tidyOptSetInt(tdoc, TidyWrapLen, 0)); BOOST_REQUIRE_EQUAL(0, tidyParseString(tdoc, htmlPart->payload.c_str())); BOOST_REQUIRE_EQUAL(0, tidyCleanAndRepair(tdoc)); diff --git a/gentoobrowse-api/unittests/testNotifications.cpp b/gentoobrowse-api/unittests/testNotifications.cpp index ddd1fa7..c0f3162 100644 --- a/gentoobrowse-api/unittests/testNotifications.cpp +++ b/gentoobrowse-api/unittests/testNotifications.cpp @@ -8,7 +8,6 @@ #include <memstream.h> #include <mimeImpl.h> #include <regex> -#include <tidy.h> using namespace std::string_literals; using QPTD = std::tuple<std::string_view, std::string_view>; |