Skip to content

Commit

Permalink
test: remove undef NDEBUG from at-exit addons test
Browse files Browse the repository at this point in the history
The at-exit addons test uses asserts like the other addons tests,
but at-exit is the only one that undefines NDEBUG to make sure
that asserts are enabled. This commit removes the undef for
consistency.

PR-URL: #13998
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
danbev authored and addaleax committed Jul 11, 2017
1 parent b11944b commit 7ec9540
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/addons/at-exit/binding.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#undef NDEBUG
#include <assert.h>
#include <stdlib.h>
#include <node.h>
Expand Down

0 comments on commit 7ec9540

Please sign in to comment.