Fix OStreamWrapper test

This commit is contained in:
Milo Yip 2016-02-08 01:45:12 +08:00
parent 0f7cb315ef
commit 953dd5a34f

View File

@ -27,7 +27,7 @@ template <typename StringStreamType>
static void TestStringStream() {
typedef typename StringStreamType::char_type Ch;
Ch s[] = { 'A', 'B', 'C' };
Ch s[] = { 'A', 'B', 'C', '\0' };
StringStreamType oss(s);
BasicOStreamWrapper<StringStreamType> os(oss);
for (size_t i = 0; i < 3; i++)