drop nullptr
authorChristopher Dunn <cdunn2001@gmail.com>
Mon, 2 Feb 2015 21:32:33 +0000 (15:32 -0600)
committerChristopher Dunn <cdunn2001@gmail.com>
Mon, 2 Feb 2015 21:33:47 +0000 (15:33 -0600)
See issue #153.

src/test_lib_json/jsontest.h

index 127b7c2..d6b7cf3 100644 (file)
@@ -214,7 +214,7 @@ TestResult& checkStringEqual(TestResult& result,
 #define JSONTEST_ASSERT_PRED(expr)                                             \
   {                                                                            \
     JsonTest::PredicateContext _minitest_Context = {                           \
-      result_->predicateId_, __FILE__, __LINE__, #expr, nullptr, nullptr       \
+      result_->predicateId_, __FILE__, __LINE__, #expr, NULL, NULL             \
     };                                                                         \
     result_->predicateStackTail_->next_ = &_minitest_Context;                  \
     result_->predicateId_ += 1;                                                \