diff options
author | Jordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com> | 2019-12-05 00:46:50 +0300 |
---|---|---|
committer | Jordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com> | 2019-12-05 00:46:50 +0300 |
commit | b39a9732f8e5eca21998bf8e1cef7698b20de320 (patch) | |
tree | 9f5bcec2f6e5989ea90ed2ae5412ad1486e5f0b8 /tests/assertion_tests.cpp | |
parent | 87eaa45445556954a18a92c2af928bc683a1088a (diff) |
attempting to fix the gtest print issues in vs17
Diffstat (limited to 'tests/assertion_tests.cpp')
-rw-r--r-- | tests/assertion_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/assertion_tests.cpp b/tests/assertion_tests.cpp index 1584bcd..c548d13 100644 --- a/tests/assertion_tests.cpp +++ b/tests/assertion_tests.cpp @@ -53,14 +53,14 @@ int g(int i) TEST(assertion_tests, expects) { - EXPECT_EQ(f(2), 2); + EXPECT_TRUE(f(2) == 2); EXPECT_DEATH(f(10), ".*"); } TEST(assertion_tests, ensures) { - EXPECT_EQ(g(2), 3); + EXPECT_TRUE(g(2) == 3); EXPECT_DEATH(g(9), ".*"); } |