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 9, 2024
1 parent e00d83e commit be10d7e
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 @@ -237,7 +237,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 be10d7e

Please sign in to comment.