From d1c8c5dd304f82acbbeb903e4a8ec86a63a3930e Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 8 Jun 2023 21:57:59 +0200 Subject: [PATCH] Fix compilation of basis unit test --- 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 7b00c69695c..39f8edc36a7 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); } }