update the string data.
This commit is contained in:
parent
64da94dd73
commit
bce6f27dd4
@ -266,8 +266,8 @@ TEST_F(EmitterTest, SimpleLongKey) {
|
||||
}
|
||||
|
||||
TEST_F(EmitterTest, SingleLongKey) {
|
||||
const std::string& shortKey = std::string(1024, 'a');
|
||||
const std::string& longKey = std::string(1025, 'a');
|
||||
const std::string shortKey(1024, 'a');
|
||||
const std::string longKey(1025, 'a');
|
||||
out << BeginMap;
|
||||
out << Key << "age";
|
||||
out << Value << "24";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user