diff options
author | Neil <nyamatongwe@gmail.com> | 2022-07-20 11:03:52 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2022-07-20 11:03:52 +1000 |
commit | f762546cc4149cc6b4b3dadc023b410e5b093bc4 (patch) | |
tree | 9f369c90d3243d33904e1e78f28ab4b5091db9f1 | |
parent | 014fda4ef900232680e4864a16e78664d4c6e4b1 (diff) | |
download | scintilla-mirror-f762546cc4149cc6b4b3dadc023b410e5b093bc4.tar.gz |
Check IndexAfter at end.
-rw-r--r-- | test/unit/testSparseVector.cxx | 1 |
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)); } } |