Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a compile warning with g++ 13.2.0. (#207)
* Fix a compile warning with g++ 13.2.0. When building the tests with g++ 13.2.0, it complains that the EXPECT_LONG_DOUBLE_EQ macro has no effect. That ends up being true; because it is just a x == y, with no EXPECT statement around it, it actually does nothing. Here, I just remove this macro because it is unnecessary; we can just do EXPECT_TRUE(x == y) and get the same effect with less code. Signed-off-by: Chris Lalancette <[email protected]> * Revert "Fix a compile warning with g++ 13.2.0." This reverts commit 28b32de. Signed-off-by: Miguel Company <[email protected]> * Refactor EXPECT_LONG_DOUBLE_EQ. Signed-off-by: Miguel Company <[email protected]> * Make expectations be checked. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Chris Lalancette <[email protected]> Signed-off-by: Miguel Company <[email protected]> Co-authored-by: Miguel Company <[email protected]>
- Loading branch information