Skip to content

Commit 525c895

Browse files
committed
test Json::Value::null
1 parent 7566563 commit 525c895

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test_lib_json/main.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ JSONTEST_FIXTURE(ValueTest, null) {
282282
JSONTEST_ASSERT_EQUAL(0.0, null_.asDouble());
283283
JSONTEST_ASSERT_EQUAL(0.0, null_.asFloat());
284284
JSONTEST_ASSERT_STRING_EQUAL("", null_.asString());
285+
286+
JSONTEST_ASSERT_EQUAL(Json::Value::null, null_);
285287
}
286288

287289
JSONTEST_FIXTURE(ValueTest, strings) {

0 commit comments

Comments
 (0)