mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-10-27 19:10:24 +01:00
Further improve coverage of GenericPointer::Erase()
This commit is contained in:
@@ -874,6 +874,7 @@ TEST(Pointer, Erase) {
|
||||
|
||||
EXPECT_FALSE(Pointer("").Erase(d));
|
||||
EXPECT_FALSE(Pointer("/nonexist").Erase(d));
|
||||
EXPECT_FALSE(Pointer("/nonexist/nonexist").Erase(d));
|
||||
EXPECT_FALSE(Pointer("/foo/nonexist").Erase(d));
|
||||
EXPECT_FALSE(Pointer("/foo/nonexist/nonexist").Erase(d));
|
||||
EXPECT_FALSE(Pointer("/foo/0/nonexist").Erase(d));
|
||||
|
||||
Reference in New Issue
Block a user