aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit/testSparseVector.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/testSparseVector.cxx b/test/unit/testSparseVector.cxx
index 5756b8de0..288f671c1 100644
--- a/test/unit/testSparseVector.cxx
+++ b/test/unit/testSparseVector.cxx
@@ -378,6 +378,7 @@ TEST_CASE("SparseTextInt") {
REQUIRE(3 == st.PositionOfElement(1));
REQUIRE(2 == st.IndexAfter(3));
REQUIRE(5 == st.PositionOfElement(2));
+ REQUIRE(2 == st.IndexAfter(4));
}
}