From 9eca0b81b1d0f92d012c1f4cdf05b205880345c3 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 3 Sep 2021 20:01:10 +0100 Subject: TidyIndentContent is now an enum --- gentoobrowse/src/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoobrowse/src/test.cpp b/gentoobrowse/src/test.cpp index 450239d..238efb4 100644 --- a/gentoobrowse/src/test.cpp +++ b/gentoobrowse/src/test.cpp @@ -62,7 +62,7 @@ public: TidyDoc tdoc = tidyCreate(); TidyInputSource tis {&output, &streamGet, &streamUnget, &streamEof}; - BOOST_REQUIRE_EQUAL(1, tidyOptSetBool(tdoc, TidyIndentContent, yes)); + BOOST_REQUIRE_EQUAL(1, tidyOptSetInt(tdoc, TidyIndentContent, yes)); BOOST_REQUIRE_EQUAL(1, tidyOptSetBool(tdoc, TidyQuiet, yes)); BOOST_REQUIRE_EQUAL(1, tidyOptSetInt(tdoc, TidyWrapLen, 0)); BOOST_REQUIRE_EQUAL(0, tidyParseSource(tdoc, &tis)); -- cgit v1.2.3