aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2022-07-20 11:03:52 +1000
committerNeil <nyamatongwe@gmail.com>2022-07-20 11:03:52 +1000
commitf762546cc4149cc6b4b3dadc023b410e5b093bc4 (patch)
tree9f369c90d3243d33904e1e78f28ab4b5091db9f1 /test
parent014fda4ef900232680e4864a16e78664d4c6e4b1 (diff)
downloadscintilla-mirror-f762546cc4149cc6b4b3dadc023b410e5b093bc4.tar.gz
Check IndexAfter at end.
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));
}
}