Skip to content

Commit 759c969

Browse files
committed
Always abort on failure in mock tests
1 parent 9499b6a commit 759c969

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

tests/TestSuite.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ test_error (const char *format, ...)
116116
fprintf (stderr, "\n");
117117
fflush (stderr);
118118
va_end (ap);
119+
abort ();
119120
}
120121

121122

tests/mock_server/request.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ request_matches_query (const request_t *request,
173173

174174
if (!request->is_command && is_command) {
175175
test_error ("expected command, got query");
176-
abort ();
177176
return false;
178177
}
179178

0 commit comments

Comments
 (0)