Skip to content

Commit

Permalink
fixture.cpp: fixed knownConditionTrueFalse selfcheck warning
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Aug 16, 2024
1 parent 46ca9bd commit a520374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fixture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ bool TestFixture::assertEquals(const char * const filename, const unsigned int l
if (expected != actual) {
return assertEquals(filename, linenr, std::to_string(expected), std::to_string(actual), msg);
}
return expected == actual;
return true;
}

bool TestFixture::assertEqualsDouble(const char * const filename, const unsigned int linenr, const double expected, const double actual, const double tolerance, const std::string &msg) const
Expand Down

0 comments on commit a520374

Please sign in to comment.