1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

More test fixes:

Always provide a message to the FAIL_ macros
This commit is contained in:
Georg Richter
2020-10-20 16:17:25 +02:00
parent dec58668dd
commit b24d337027
3 changed files with 10 additions and 7 deletions

View File

@@ -115,7 +115,7 @@ do {\
do {\
if (expr)\
{\
diag("Error: %s (%s: %d)", (reason) ? reason : "", __FILE__, __LINE__);\
diag("Error: %s (%s: %d)", reason, __FILE__, __LINE__);\
return FAIL;\
}\
} while(0)