summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/docsummary/docsummary.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-10-03 23:56:30 +0200
committerGitHub <noreply@github.com>2020-10-03 23:56:30 +0200
commit3b3896aac6b7ea6b5bace26c39647e2ec960fcf7 (patch)
tree84f06ed9f5318214f37f4adc5c48a3bd2140bc27 /searchcore/src/tests/proton/docsummary/docsummary.cpp
parentac901be72bd373a6e49f8a8149fd5c71e7eaae39 (diff)
parente278469ad6d752da7e33228d0a78a6f02b29ffbb (diff)
Merge pull request #14699 from vespa-engine/balder/fix-tests
Use correct serial number when creating attribute.
Diffstat (limited to 'searchcore/src/tests/proton/docsummary/docsummary.cpp')
-rw-r--r--searchcore/src/tests/proton/docsummary/docsummary.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/searchcore/src/tests/proton/docsummary/docsummary.cpp b/searchcore/src/tests/proton/docsummary/docsummary.cpp
index 7d5dbb8ca71..7e4e05f6948 100644
--- a/searchcore/src/tests/proton/docsummary/docsummary.cpp
+++ b/searchcore/src/tests/proton/docsummary/docsummary.cpp
@@ -1045,10 +1045,9 @@ TEST("requireThatPositionsAreUsed")
endDocument();
dc.put(*exp, 1);
- IDocumentStore & store =
- dc._ddb->getReadySubDB()->getSummaryManager()->getBackingStore();
+ IDocumentStore & store = dc._ddb->getReadySubDB()->getSummaryManager()->getBackingStore();
Document::UP act = store.read(1, *bc._repo);
- EXPECT_TRUE(act.get() != nullptr);
+ EXPECT_TRUE(act);
EXPECT_EQUAL(exp->getType(), act->getType());
DocsumRequest req;