Fix compilation of basis unit test

This commit is contained in:
Hugo Locurcio 2023-06-08 21:57:59 +02:00
parent b822463965
commit d1c8c5dd30
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
1 changed files with 3 additions and 3 deletions

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) {
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);
}
}