Fix a mistaken test case in test-undo-region
* test/lisp/simple-tests.el (test-undo-region): Fix failing cases (bug#21523) -- the crossing-region case shouldn't be included, either.
This commit is contained in:
parent
6dbbdff281
commit
d01e74f46d
1 changed files with 2 additions and 2 deletions
|
@ -966,8 +966,8 @@ See Bug#21722."
|
|||
(setq buffer-undo-list nil)
|
||||
(downcase-word 1)
|
||||
(should (= (length (delq nil (undo-make-selective-list 1 9))) 2))
|
||||
(should (= (length (delq nil (undo-make-selective-list 4 9))) 1))
|
||||
;; FIXME this is the off-by-one error case.
|
||||
;; FIXME: These should give 0, but currently give 1.
|
||||
;;(should (= (length (delq nil (undo-make-selective-list 4 9))) 0))
|
||||
;;(should (= (length (delq nil (undo-make-selective-list 5 9))) 0))
|
||||
(should (= (length (delq nil (undo-make-selective-list 6 9))) 0))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue