From 4d3b76d2be024807a7dc4544cfe5d820cf8ca04a Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 25 Apr 2017 10:27:15 +0200 Subject: [PATCH] src: remove GTEST_DONT_DEFINE_ASSERT_EQ in util.h As indicated by the FIXME comment, this macro guard is no longer needed. PR-URL: https://github.com/nodejs/node/pull/12638 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Ben Noordhuis --- src/util.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/util.h b/src/util.h index ecd5b128c8c394..f415141a58e997 100644 --- a/src/util.h +++ b/src/util.h @@ -93,14 +93,6 @@ template using remove_reference = std::remove_reference; } \ } while (0) -// FIXME(bnoordhuis) cctests don't link in node::Abort() and node::Assert(). -#ifdef GTEST_DONT_DEFINE_ASSERT_EQ -#undef ABORT -#undef CHECK -#define ABORT ABORT_NO_BACKTRACE -#define CHECK assert -#endif - #ifdef NDEBUG #define ASSERT(expr) #else