diff options
Diffstat (limited to 'document/src/tests/documenttestcase.cpp')
-rw-r--r-- | document/src/tests/documenttestcase.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/document/src/tests/documenttestcase.cpp b/document/src/tests/documenttestcase.cpp index 956f2d07e85..6993596392c 100644 --- a/document/src/tests/documenttestcase.cpp +++ b/document/src/tests/documenttestcase.cpp @@ -32,14 +32,14 @@ TEST(DocumentTest, testSizeOf) { EXPECT_EQ(24u, sizeof(std::vector<char>)); EXPECT_EQ(24u, sizeof(vespalib::alloc::Alloc)); - EXPECT_EQ(40u, sizeof(ByteBuffer)); + EXPECT_EQ(24u, sizeof(ByteBuffer)); EXPECT_EQ(32u, sizeof(vespalib::GrowableByteBuffer)); EXPECT_EQ(88ul, sizeof(IdString)); EXPECT_EQ(104ul, sizeof(DocumentId)); - EXPECT_EQ(248ul, sizeof(Document)); - EXPECT_EQ(112ul, sizeof(StructFieldValue)); + EXPECT_EQ(232ul, sizeof(Document)); + EXPECT_EQ(96ul, sizeof(StructFieldValue)); EXPECT_EQ(16ul, sizeof(StructuredFieldValue)); - EXPECT_EQ(72ul, sizeof(SerializableArray)); + EXPECT_EQ(56ul, sizeof(SerializableArray)); } TEST(DocumentTest, testFieldPath) |