diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-01-20 16:20:46 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-01-20 16:20:46 +0100 |
commit | be23ac75d3d44e758ddeafcf5d008e423f231ec6 (patch) | |
tree | b73c1fb437200193a4e37a698ada3154cfe8a762 /vsm/src/tests | |
parent | 001686aa07d486b5bcd6d97a788d69869eb94365 (diff) |
Repair incorrect deduction of max fieldNo.
Diffstat (limited to 'vsm/src/tests')
-rw-r--r-- | vsm/src/tests/document/document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vsm/src/tests/document/document.cpp b/vsm/src/tests/document/document.cpp index bff9294979e..12b321f7c80 100644 --- a/vsm/src/tests/document/document.cpp +++ b/vsm/src/tests/document/document.cpp @@ -76,7 +76,7 @@ DocumentTest::testStorageDocument() void DocumentTest::testStringFieldIdTMap() { StringFieldIdTMap m; - EXPECT_EQUAL(1u, m.highestFieldNo()); + EXPECT_EQUAL(0u, m.highestFieldNo()); EXPECT_TRUE(StringFieldIdTMap::npos == m.fieldNo("unknown")); m.add("f1"); EXPECT_EQUAL(0u, m.fieldNo("f1")); |