diff options
author | Neil <nyamatongwe@gmail.com> | 2024-01-02 10:08:16 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2024-01-02 10:08:16 +1100 |
commit | ec0e53dc6711aeb827eccd65b6f0779aa841aad2 (patch) | |
tree | 4cba13cd182aac11f6240cd8520e5b46a0d329bf /test/unit/testSplitVector.cxx | |
parent | dac59d7a985cd4b42096848c02dcc26b55165493 (diff) | |
download | scintilla-mirror-ec0e53dc6711aeb827eccd65b6f0779aa841aad2.tar.gz |
Fix warnings in test case code mostly by adding const.
Diffstat (limited to 'test/unit/testSplitVector.cxx')
-rw-r--r-- | test/unit/testSplitVector.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/testSplitVector.cxx b/test/unit/testSplitVector.cxx index c836a4ffe..b5559a6af 100644 --- a/test/unit/testSplitVector.cxx +++ b/test/unit/testSplitVector.cxx @@ -374,7 +374,7 @@ TEST_CASE("SplitVector") { SECTION("DeleteBackAndForth") { sv.InsertValue(0, 10, 87); for (int i=0; i<10; i+=2) { - int len = 10 - i; + const int len = 10 - i; REQUIRE(len == sv.Length()); for (int j=0; j<sv.Length(); j++) { REQUIRE(87 == sv.ValueAt(j)); |