Merge pull request #78018 from Calinou/test-basis-fix-build

Fix compilation of basis unit test
This commit is contained in:
Rémi Verschelde 2023-06-09 11:36:33 +02:00 committed by GitHub
commit cebaa3f763
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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