[libc] Fix missing close at the end of file test (#154392)

The test added by #150802 was missing a close at the end.
This commit is contained in:
Michael Jones 2025-08-19 10:26:05 -07:00 committed by GitHub
parent 3f3bc4853e
commit d2b2d6ff10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -510,4 +510,5 @@ TEST(LlvmLibcFileTest, WriteSplit) {
static constexpr size_t WR_EXPECTED = AVAIL - (sizeof(data) - 1);
ASSERT_EQ(WR_EXPECTED, f->write(data2, sizeof(data2) - 1).value);
EXPECT_TRUE(f->error());
ASSERT_EQ(f->close(), 0);
}