Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
phisko committed Mar 3, 2023
1 parent 694ac96 commit bf79a83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kengine/core/assert/helpers/tests/assert_helper.tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ TEST_F(core_assert, kengine_assert_with_message_true) {
}

TEST_F(core_assert, kengine_assert_with_message_false) {
kengine_assert_with_message(r, false, "foo", "bar");
kengine_assert_with_message(r, false, "{}{}", "foo", "bar");
EXPECT_STREQ(file, __FILE__);
EXPECT_EQ(line, 61); // Hardcoded line number based on the above condition
EXPECT_EQ(expr, "foobar");
}

TEST_F(core_assert, kengine_assert_failed) {
kengine_assert_failed(r, "foo", "bar");
kengine_assert_failed(r, "{}{}", "foo", "bar");
EXPECT_STREQ(file, __FILE__);
EXPECT_EQ(line, 68); // Hardcoded line number based on the above condition
EXPECT_EQ(expr, "foobar");
Expand Down

0 comments on commit bf79a83

Please sign in to comment.