Skip to content

Commit ff0cd09

Browse files
Automerge: [libc] Fix missing close at the end of file test (#154392)
The test added by #150802 was missing a close at the end.
2 parents 5dc4f3c + d2b2d6f commit ff0cd09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libc/test/src/__support/File/file_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,4 +510,5 @@ TEST(LlvmLibcFileTest, WriteSplit) {
510510
static constexpr size_t WR_EXPECTED = AVAIL - (sizeof(data) - 1);
511511
ASSERT_EQ(WR_EXPECTED, f->write(data2, sizeof(data2) - 1).value);
512512
EXPECT_TRUE(f->error());
513+
ASSERT_EQ(f->close(), 0);
513514
}

0 commit comments

Comments
 (0)