Added move assignment operator to Client class. (#1873)

This commit is contained in:
Hlado authored and GitHub committed 2024-06-30 11:17:00 -04:00
1 parent 177d8420a1
commit 8cd0ed0509
2 files changed
+8 -1

No files matched your search

+7 -1
View File
@@ -54,11 +54,17 @@ MultipartFormData &get_file_value(MultipartFormDataItems &files,
#endif
}
TEST(ConstructorTest, MoveConstructible) {
TEST(ClientTest, MoveConstructible) {
EXPECT_FALSE(std::is_copy_constructible<Client>::value);
EXPECT_TRUE(std::is_nothrow_move_constructible<Client>::value);
}
TEST(ClientTest, MoveAssignable)
{
EXPECT_FALSE(std::is_copy_assignable<Client>::value);
EXPECT_TRUE(std::is_nothrow_move_assignable<Client>::value);
}
#ifdef _WIN32
TEST(StartupTest, WSAStartup) {
WSADATA wsaData;