From bf79a83340f0083addfb534f78e7120ebdbcf5a5 Mon Sep 17 00:00:00 2001 From: Nicolas Phister Date: Fri, 3 Mar 2023 09:31:37 +0100 Subject: [PATCH] fix tests --- kengine/core/assert/helpers/tests/assert_helper.tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kengine/core/assert/helpers/tests/assert_helper.tests.cpp b/kengine/core/assert/helpers/tests/assert_helper.tests.cpp index 0ed75c831..41b4e06d2 100644 --- a/kengine/core/assert/helpers/tests/assert_helper.tests.cpp +++ b/kengine/core/assert/helpers/tests/assert_helper.tests.cpp @@ -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");