mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-02 07:01:58 +01:00
Fix move assignment.
This commit is contained in:
@@ -204,7 +204,7 @@ TEST(FileTest, MoveAssignmentClosesFile) {
|
||||
File f2("CMakeLists.txt", File::RDONLY);
|
||||
int old_fd = f2.descriptor();
|
||||
f2 = std::move(f);
|
||||
EXPECT_TRUE(IsClosedInternal(old_fd));
|
||||
EXPECT_CLOSED(old_fd);
|
||||
}
|
||||
|
||||
File OpenFile(int &fd) {
|
||||
|
||||
Reference in New Issue
Block a user