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 Sep 5, 2017
1 parent 62de339 commit 4d3b76d
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 4d3b76d

Please sign in to comment.