aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/testCellBuffer.cxx2
-rw-r--r--test/unit/testContractionState.cxx2
-rw-r--r--test/unit/testPartitioning.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/testCellBuffer.cxx b/test/unit/testCellBuffer.cxx
index f0192423c..cef88cb17 100644
--- a/test/unit/testCellBuffer.cxx
+++ b/test/unit/testCellBuffer.cxx
@@ -26,7 +26,7 @@ TEST_CASE("CellBuffer") {
const char sText[] = "Scintilla";
const Sci::Position sLength = static_cast<Sci::Position>(strlen(sText));
- CellBuffer cb(true);
+ CellBuffer cb(true, false);
SECTION("InsertOneLine") {
bool startSequence = false;
diff --git a/test/unit/testContractionState.cxx b/test/unit/testContractionState.cxx
index b0346dfc9..fcee90287 100644
--- a/test/unit/testContractionState.cxx
+++ b/test/unit/testContractionState.cxx
@@ -25,7 +25,7 @@ using namespace Scintilla;
TEST_CASE("ContractionState") {
- std::unique_ptr<IContractionState> pcs = ContractionStateCreate();
+ std::unique_ptr<IContractionState> pcs = ContractionStateCreate(false);
SECTION("IsEmptyInitially") {
REQUIRE(1 == pcs->LinesInDoc());
diff --git a/test/unit/testPartitioning.cxx b/test/unit/testPartitioning.cxx
index 69bbe7957..449253ef3 100644
--- a/test/unit/testPartitioning.cxx
+++ b/test/unit/testPartitioning.cxx
@@ -50,7 +50,7 @@ TEST_CASE("SplitVectorWithRangeAdd") {
TEST_CASE("Partitioning") {
- Partitioning<int> part(growSize);
+ Partitioning<Sci::Position> part(growSize);
SECTION("IsEmptyInitially") {
REQUIRE(1 == part.Partitions());