Skip to content

Commit 7c4e3c8

Browse files
committed
Tests: Restore the error message in fatal assert
1 parent 4fa4c78 commit 7c4e3c8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_common.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,11 @@ static void DebugOutput( ESteamNetworkingSocketsDebugOutputType eType, const cha
5656
return;
5757

5858
fprintf( stderr, "\n\n"
59+
"%s\n"
5960
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"
6061
"!! TEST FAILED !!\n"
61-
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"
62+
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n",
63+
pszMsg
6264
);
6365
fflush( stderr );
6466
_exit(1);

0 commit comments

Comments
 (0)