Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
miloyip committed Apr 14, 2015
1 parent 056125d commit c0ba5cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unittest/stringbuffertest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit c0ba5cf

Please sign in to comment.