summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-09-03 20:01:10 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-09-03 20:01:10 +0100
commit9eca0b81b1d0f92d012c1f4cdf05b205880345c3 (patch)
tree95aced7381b5de1f1178853ff4cd848420c1a107
parentFix leak of demangled test name (diff)
downloadgentoobrowse-9eca0b81b1d0f92d012c1f4cdf05b205880345c3.tar.bz2
gentoobrowse-9eca0b81b1d0f92d012c1f4cdf05b205880345c3.tar.xz
gentoobrowse-9eca0b81b1d0f92d012c1f4cdf05b205880345c3.zip
TidyIndentContent is now an enum
-rw-r--r--gentoobrowse/src/test.cpp2
1 files changed, 1 insertions, 1 deletions
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));