Update utIOStreamBuffer.cpp
parent
3036de89d3
commit
65672a02b8
|
@ -84,7 +84,7 @@ TEST_F( IOStreamBufferTest, open_close_Test ) {
|
||||||
const auto dataCount = dataSize / sizeof(*data);
|
const auto dataCount = dataSize / sizeof(*data);
|
||||||
|
|
||||||
char fname[]={ "octest.XXXXXX" };
|
char fname[]={ "octest.XXXXXX" };
|
||||||
FILE *fsm = fopen(fname, "w+");
|
auto* fs = MakeTmpFile(fname);
|
||||||
ASSERT_NE(nullptr, fs);
|
ASSERT_NE(nullptr, fs);
|
||||||
|
|
||||||
auto written = std::fwrite(data, sizeof(*data), dataCount, fs);
|
auto written = std::fwrite(data, sizeof(*data), dataCount, fs);
|
||||||
|
|
Loading…
Reference in New Issue