Skip to content

Commit

Permalink
src: remove GTEST_DONT_DEFINE_ASSERT_EQ in util.h
Browse files Browse the repository at this point in the history
As indicated by the FIXME comment, this macro guard is no longer needed.

PR-URL: #12638
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
  • Loading branch information
danbev authored and MylesBorins committed Aug 16, 2017
1 parent f46e14c commit e0f8b18
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,6 @@ template <typename T> using remove_reference = std::remove_reference<T>;
} \
} 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
Expand Down

0 comments on commit e0f8b18

Please sign in to comment.