mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-10-27 19:10:24 +01:00
Add comment
This commit is contained in:
@@ -55,6 +55,7 @@ TEST(StringBuffer, Push) {
|
||||
|
||||
EXPECT_EQ(5u, buffer.GetSize());
|
||||
|
||||
// Causes sudden expansion to make the stack's capacity equal to size
|
||||
buffer.Push(65536u);
|
||||
EXPECT_EQ(5u + 65536u, buffer.GetSize());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user