From eb8176b7019f3dd7b7b9c4abe490f2276eb24ac8 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 11 Jun 2023 09:46:30 +0200 Subject: [PATCH] Ported: Fix compilation of basis unit test - Calinou https://github.com/godotengine/godot/commit/d1c8c5dd304f82acbbeb903e4a8ec86a63a3930e --- main/tests/test_basis.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/tests/test_basis.cpp b/main/tests/test_basis.cpp index 1678fde01..73f75ccfb 100644 --- a/main/tests/test_basis.cpp +++ b/main/tests/test_basis.cpp @@ -315,11 +315,11 @@ void test_euler_conversion() { } } -void check_test(std::string test_case_name, bool condition) { +void check_test(const char *test_case_name, bool condition) { if (!condition) { - OS::get_singleton()->print("FAILED - %s\n", test_case_name.c_str()); + OS::get_singleton()->print("FAILED - %s\n", test_case_name); } else { - OS::get_singleton()->print("PASSED - %s\n", test_case_name.c_str()); + OS::get_singleton()->print("PASSED - %s\n", test_case_name); } }