Explorar o código

test: minor changes

Michele Caini %!s(int64=2) %!d(string=hai) anos
pai
achega
fc381b72d3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/entt/core/compressed_pair.cpp

+ 1 - 1
test/entt/core/compressed_pair.cpp

@@ -15,7 +15,7 @@ TEST(CompressedPair, Size) {
         test::empty empty;
         test::empty empty;
     };
     };
 
 
-    ASSERT_EQ(sizeof(entt::compressed_pair<int, int>), sizeof(int[2u]));
+    ASSERT_EQ(sizeof(entt::compressed_pair<int, int>), sizeof(int) * 2u);
     ASSERT_EQ(sizeof(entt::compressed_pair<test::empty, int>), sizeof(int));
     ASSERT_EQ(sizeof(entt::compressed_pair<test::empty, int>), sizeof(int));
     ASSERT_EQ(sizeof(entt::compressed_pair<int, test::empty>), sizeof(int));
     ASSERT_EQ(sizeof(entt::compressed_pair<int, test::empty>), sizeof(int));
     ASSERT_LT(sizeof(entt::compressed_pair<int, test::empty>), sizeof(local));
     ASSERT_LT(sizeof(entt::compressed_pair<int, test::empty>), sizeof(local));