Fix ostream-test
This commit is contained in:
parent
b10065e69a
commit
1e0d6f33d5
@ -192,6 +192,7 @@ TEST(OStreamTest, WriteToOStreamMaxSize) {
|
|||||||
fmt::internal::write(os, w);
|
fmt::internal::write(os, w);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if __cplusplus >= 201103L
|
||||||
struct Xs {
|
struct Xs {
|
||||||
const size_t size;
|
const size_t size;
|
||||||
const std::string s;
|
const std::string s;
|
||||||
@ -212,3 +213,4 @@ TEST(OStreamTest, FormatBuf1) {
|
|||||||
w << xs;
|
w << xs;
|
||||||
EXPECT_EQ(w.size(), size_t((n + 1) * xs.size));
|
EXPECT_EQ(w.size(), size_t((n + 1) * xs.size));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user