/* parse an empty string -> Http::METHOD_NONE */
HttpRequestMethod a;
- a.HttpRequestMethodXXX(NULL);
+ a.HttpRequestMethodXXX(nullptr);
CPPUNIT_ASSERT(a == Http::METHOD_NONE);
/* parsing a literal should work */
CPPUNIT_ASSERT_EQUAL(SBuf("QWERTY"), c.image());
// parsing error should not leave stale results
- b.HttpRequestMethodXXX(NULL);
+ b.HttpRequestMethodXXX(nullptr);
CPPUNIT_ASSERT(b == Http::METHOD_NONE);
CPPUNIT_ASSERT_EQUAL(SBuf("NONE"), b.image());
}