Fix OStreamWrapper test
This commit is contained in:
parent
0f7cb315ef
commit
953dd5a34f
@ -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++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user