mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 09:58:50 +08:00
Attempt to fix windows build
This commit is contained in:
parent
c186d363c6
commit
eb80321ea3
@ -191,7 +191,7 @@ TEST_CASE("/fileio/truncateAndRead") {
|
||||
state std::array<char, 4096> data;
|
||||
wait(f->sync());
|
||||
wait(f->truncate(4096));
|
||||
int length = wait(f->read(data.begin(), 4096, 0));
|
||||
int length = wait(f->read(&data[0], 4096, 0));
|
||||
ASSERT(length == 4096);
|
||||
for (auto c : data) {
|
||||
ASSERT(c == '\0');
|
||||
|
Loading…
x
Reference in New Issue
Block a user