Kaynağa Gözat

doc: fixed typo

Michele Caini 4 yıl önce
ebeveyn
işleme
07767a09d9
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      test/entt/core/memory.cpp

+ 2 - 2
test/entt/core/memory.cpp

@@ -127,7 +127,7 @@ TEST(UsesAllocatorConstructionArgs, NoUsesAllocatorConstruction) {
     ASSERT_EQ(std::get<0>(args), 42);
     ASSERT_EQ(std::get<0>(args), 42);
 }
 }
 
 
-TEST(UsesAllocatorConstructionArgs, LeadingAllocatorConvetion) {
+TEST(UsesAllocatorConstructionArgs, LeadingAllocatorConvention) {
     const auto args = entt::uses_allocator_construction_args<std::tuple<int, char>>(std::allocator<int>{}, 42, 'c');
     const auto args = entt::uses_allocator_construction_args<std::tuple<int, char>>(std::allocator<int>{}, 42, 'c');
 
 
     static_assert(std::tuple_size_v<decltype(args)> == 4u);
     static_assert(std::tuple_size_v<decltype(args)> == 4u);
@@ -137,7 +137,7 @@ TEST(UsesAllocatorConstructionArgs, LeadingAllocatorConvetion) {
     ASSERT_EQ(std::get<3>(args), 'c');
     ASSERT_EQ(std::get<3>(args), 'c');
 }
 }
 
 
-TEST(UsesAllocatorConstructionArgs, TrailingAllocatorConvetion) {
+TEST(UsesAllocatorConstructionArgs, TrailingAllocatorConvention) {
     const auto args = entt::uses_allocator_construction_args<std::vector<int>>(std::allocator<int>{}, 42u);
     const auto args = entt::uses_allocator_construction_args<std::vector<int>>(std::allocator<int>{}, 42u);
 
 
     static_assert(std::tuple_size_v<decltype(args)> == 2u);
     static_assert(std::tuple_size_v<decltype(args)> == 2u);