diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-09-03 20:01:10 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-09-03 20:01:10 +0100 |
commit | 9eca0b81b1d0f92d012c1f4cdf05b205880345c3 (patch) | |
tree | 95aced7381b5de1f1178853ff4cd848420c1a107 | |
parent | Fix leak of demangled test name (diff) | |
download | gentoobrowse-9eca0b81b1d0f92d012c1f4cdf05b205880345c3.tar.bz2 gentoobrowse-9eca0b81b1d0f92d012c1f4cdf05b205880345c3.tar.xz gentoobrowse-9eca0b81b1d0f92d012c1f4cdf05b205880345c3.zip |
TidyIndentContent is now an enum
-rw-r--r-- | gentoobrowse/src/test.cpp | 2 |
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)); |