Ported: Fix compilation of basis unit test

- Calinou
d1c8c5dd30
This commit is contained in:
Relintai 2023-06-11 09:46:30 +02:00
parent 6c9843e5cb
commit eb8176b701

View File

@ -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) { 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 { } else {
OS::get_singleton()->print("PASSED - %s\n", test_case_name.c_str()); OS::get_singleton()->print("PASSED - %s\n", test_case_name);
} }
} }