Fixes for getting all unit tests passing on linux (#1454)

This commit is contained in:
Gene Payne
2021-01-12 02:29:43 -07:00
committed by GitHub
parent 65803e134d
commit cdbc1c2695
5 changed files with 10 additions and 5 deletions

View File

@@ -2738,7 +2738,8 @@ TEST_CASE("Documentation: DeprecatedVerifier", "[documentation]") {
TestResult positiveRes = testSpecification(doc, positive);
REQUIRE(positiveRes.success);
REQUIRE(positiveRes.offenses.empty());
REQUIRE(positiveRes.warnings.size() == 13);
REQUIRE(positiveRes.warnings.size() == doc.entries.size());
REQUIRE(positiveRes.warnings[0].offender == "bool");
REQUIRE(positiveRes.warnings[0].reason == TestResult::Warning::Reason::Deprecated);
REQUIRE(positiveRes.warnings[1].offender == "double");