Commit 953dd5a3 authored by Milo Yip's avatar Milo Yip

Fix OStreamWrapper test

parent 0f7cb315
...@@ -27,7 +27,7 @@ template <typename StringStreamType> ...@@ -27,7 +27,7 @@ template <typename StringStreamType>
static void TestStringStream() { static void TestStringStream() {
typedef typename StringStreamType::char_type Ch; typedef typename StringStreamType::char_type Ch;
Ch s[] = { 'A', 'B', 'C' }; Ch s[] = { 'A', 'B', 'C', '\0' };
StringStreamType oss(s); StringStreamType oss(s);
BasicOStreamWrapper<StringStreamType> os(oss); BasicOStreamWrapper<StringStreamType> os(oss);
for (size_t i = 0; i < 3; i++) for (size_t i = 0; i < 3; i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment