aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/unit/testPartitioning.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/testPartitioning.cxx')
-rw-r--r--test/unit/testPartitioning.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/unit/testPartitioning.cxx b/test/unit/testPartitioning.cxx
index b8989cdff..7e12c2ff0 100644
--- a/test/unit/testPartitioning.cxx
+++ b/test/unit/testPartitioning.cxx
@@ -22,8 +22,6 @@
using namespace Scintilla::Internal;
-constexpr int growSize = 4;
-
constexpr int lengthTestArray = 8;
static const int testArray[lengthTestArray] = {3, 4, 5, 6, 7, 8, 9, 10};
@@ -31,7 +29,7 @@ static const int testArray[lengthTestArray] = {3, 4, 5, 6, 7, 8, 9, 10};
TEST_CASE("SplitVectorWithRangeAdd") {
- SplitVectorWithRangeAdd<int> svwra(growSize);
+ SplitVectorWithRangeAdd<int> svwra;
SECTION("IsEmptyInitially") {
REQUIRE(0 == svwra.Length());
@@ -54,7 +52,7 @@ TEST_CASE("SplitVectorWithRangeAdd") {
TEST_CASE("Partitioning") {
- Partitioning<Sci::Position> part(growSize);
+ Partitioning<Sci::Position> part;
SECTION("IsEmptyInitially") {
REQUIRE(1 == part.Partitions());