typo fixed for the unit test implementation
This commit is contained in:
parent
056d0dafe4
commit
88debcf02e
@ -1092,7 +1092,7 @@ static void TestShortStringOptimization(const char* str) {
|
||||
rapidjson::Document::AllocatorType& allocator = doc.GetAllocator();
|
||||
rapidjson::Value objVal(rapidjson::kObjectType);
|
||||
|
||||
objVal.AddMember(str, str, allocator);
|
||||
objVal.AddMember(str, len, allocator);
|
||||
EXPECT_TRUE(objVal.HasMember(str));
|
||||
|
||||
const rapidjson::Value& member = objVal[str];
|
||||
|
Loading…
x
Reference in New Issue
Block a user