Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
toyobayashi committed Jul 28, 2024
1 parent 19ab28e commit 7892bcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/test/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void console_error(const char* fmt, const char* str);
const char* err_message = error_info->error_message; \
const char* error_message = \
err_message != NULL ? err_message : "empty error message"; \
fprintf(stderr, "%s\n", error_message); \
EPRINT(error_message); \
abort(); \
} while (0)

Expand All @@ -62,7 +62,7 @@ void console_error(const char* fmt, const char* str);
#define NODE_API_BASIC_ASSERT_BASE(assertion, message, ret_val) \
do { \
if (!(assertion)) { \
fprintf(stderr, "assertion (" #assertion ") failed: " message); \
EPRINT("assertion (" #assertion ") failed: " message); \
abort(); \
return ret_val; \
} \
Expand Down

0 comments on commit 7892bcc

Please sign in to comment.