aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/unit/testCellBuffer.cxx
diff options
context:
space:
mode:
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 a0ddceef6..f3308574e 100644
--- a/test/unit/testCellBuffer.cxx
+++ b/test/unit/testCellBuffer.cxx
@@ -590,7 +590,7 @@ TEST_CASE("UndoHistory") {
uh.AppendAction(ActionType::insert, 0, "ab", 2, startSequence, true);
REQUIRE(uh.TentativeActive());
// The first TentativeCommit didn't seal off the first action so it is still undoable
- REQUIRE(uh.TentativeSteps() == 3);
+ REQUIRE(uh.TentativeSteps() == 2);
REQUIRE(uh.CanUndo());
TentativeUndo(uh);
REQUIRE(!uh.TentativeActive());