diff options
author | Henning Baldersheim <balder@oath.com> | 2018-09-24 10:49:45 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-09-24 10:49:45 +0200 |
commit | 963ede37edb248accf9eba715d83eca45c8804b9 (patch) | |
tree | 91732cdfb310031d6cdf1c6a07915df2ef6a157b | |
parent | 31c2b504da0b672715b2d4d68efa5cdf6c487a99 (diff) |
Add test for sizeof(Value)
-rw-r--r-- | searchlib/src/tests/docstore/document_store/document_store_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searchlib/src/tests/docstore/document_store/document_store_test.cpp b/searchlib/src/tests/docstore/document_store/document_store_test.cpp index da0c2ba3392..16acbdfe878 100644 --- a/searchlib/src/tests/docstore/document_store/document_store_test.cpp +++ b/searchlib/src/tests/docstore/document_store/document_store_test.cpp @@ -103,6 +103,7 @@ void verifyValue(vespalib::stringref s, const Value & v) { } TEST("require that Value can store uncompressed data") { + EXPECT_EQUAL(64ul, sizeof(Value)); Value v = createValue(S1, CompressionConfig::NONE); verifyValue(S1, v); } |