|
@@ -283,7 +283,7 @@ TEST(Any, SBOMoveAssignment) {
|
|
|
ASSERT_EQ(entt::any_cast<int>(other), 2);
|
|
ASSERT_EQ(entt::any_cast<int>(other), 2);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-TEST(AnyDeathTest, SBOSelfMoveAssignment) {
|
|
|
|
|
|
|
+TEST(Any, SBOSelfMoveAssignment) {
|
|
|
entt::any any{2};
|
|
entt::any any{2};
|
|
|
|
|
|
|
|
// avoid warnings due to self-assignment
|
|
// avoid warnings due to self-assignment
|
|
@@ -608,7 +608,7 @@ TEST(Any, NoSBOMoveAssignment) {
|
|
|
ASSERT_EQ(entt::any_cast<fat>(other), instance);
|
|
ASSERT_EQ(entt::any_cast<fat>(other), instance);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-TEST(AnyDeathTest, NoSBOSelfMoveAssignment) {
|
|
|
|
|
|
|
+TEST(Any, NoSBOSelfMoveAssignment) {
|
|
|
const fat instance{.1, .2, .3, .4};
|
|
const fat instance{.1, .2, .3, .4};
|
|
|
entt::any any{instance};
|
|
entt::any any{instance};
|
|
|
|
|
|
|
@@ -822,7 +822,7 @@ TEST(Any, VoidMoveAssignment) {
|
|
|
ASSERT_EQ(entt::any_cast<double>(&other), nullptr);
|
|
ASSERT_EQ(entt::any_cast<double>(&other), nullptr);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-TEST(AnyDeathTest, VoidSelfMoveAssignment) {
|
|
|
|
|
|
|
+TEST(Any, VoidSelfMoveAssignment) {
|
|
|
entt::any any{std::in_place_type<void>};
|
|
entt::any any{std::in_place_type<void>};
|
|
|
|
|
|
|
|
// avoid warnings due to self-assignment
|
|
// avoid warnings due to self-assignment
|