1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

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

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