diff options
author | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-03-24 14:20:10 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-03-24 14:20:10 +0000 |
commit | f4981c28aacd0c964b2691af6337e302412366ac (patch) | |
tree | d4ced656aeafb4c6b42db24ce1d8e0f3a216e7e9 /documentapi | |
parent | 5560e8dee6b87f89a2324dd90b89c2c233ab32a2 (diff) |
Update tests to take vespalib::string size into account
Diffstat (limited to 'documentapi')
-rw-r--r-- | documentapi/src/tests/messages/messages60test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentapi/src/tests/messages/messages60test.cpp b/documentapi/src/tests/messages/messages60test.cpp index a7604888c69..18111fbd805 100644 --- a/documentapi/src/tests/messages/messages60test.cpp +++ b/documentapi/src/tests/messages/messages60test.cpp @@ -400,7 +400,7 @@ Messages60Test::testPutDocumentMessage() msg.setCondition(TestAndSetCondition("There's just one condition")); EXPECT_EQUAL(64u, sizeof(vespalib::string)); - EXPECT_EQUAL(sizeof(std::string), sizeof(TestAndSetCondition)); + EXPECT_EQUAL(sizeof(vespalib::string), sizeof(TestAndSetCondition)); EXPECT_EQUAL(112u, sizeof(DocumentMessage)); EXPECT_EQUAL(sizeof(TestAndSetCondition) + sizeof(DocumentMessage), sizeof(TestAndSetMessage)); EXPECT_EQUAL(sizeof(TestAndSetMessage) + 24, sizeof(PutDocumentMessage)); |