aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/unit/testCellBuffer.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2024-01-30 10:11:10 +1100
committerNeil <nyamatongwe@gmail.com>2024-01-30 10:11:10 +1100
commit77d00274b4e729ba5eac3cda390d6aa9478567ca (patch)
tree01744884872093ea9406a206e554f9d569a3b0d2 /test/unit/testCellBuffer.cxx
parent72689db0d549c0cb850012546c71117ea74c2f2c (diff)
downloadscintilla-mirror-77d00274b4e729ba5eac3cda390d6aa9478567ca.tar.gz
Avoid warnings in unit tests with const, nullptr, [[nodiscard]], initialisation,
and unnamed namespace.
Diffstat (limited to 'test/unit/testCellBuffer.cxx')
-rw-r--r--test/unit/testCellBuffer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/testCellBuffer.cxx b/test/unit/testCellBuffer.cxx
index 5e5b0b138..b6e03d2ee 100644
--- a/test/unit/testCellBuffer.cxx
+++ b/test/unit/testCellBuffer.cxx
@@ -1405,7 +1405,7 @@ TEST_CASE("CellBufferLong") {
SECTION("Random") {
RandomSequence rseq;
- for (size_t i = 0l; i < 20000; i++) {
+ for (size_t i = 0; i < 20000; i++) {
const int r = rseq.Next() % 10;
if (r <= 2) { // 30%
// Insert text