emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/iedit f74ae491f3 291/301: fix failed test cases


From: ELPA Syncer
Subject: [nongnu] elpa/iedit f74ae491f3 291/301: fix failed test cases
Date: Mon, 10 Jan 2022 22:59:11 -0500 (EST)

branch: elpa/iedit
commit f74ae491f3a9c6f994f634cd894fcaffbead6ba3
Author: Victor Ren <victorhge@gmail.com>
Commit: Victor <victorhge@gmail.com>

    fix failed test cases
---
 iedit-tests.el | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/iedit-tests.el b/iedit-tests.el
index e79f65bebc..f6888650da 100644
--- a/iedit-tests.el
+++ b/iedit-tests.el
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 2010 - 2019, 2020 Victor Ren
 
-;; Time-stamp: <2021-01-13 23:06:19 Victor Ren>
+;; Time-stamp: <2021-08-12 13:50:27 Victor Ren>
 ;; Author: Victor Ren <victorhge@gmail.com>
 ;; Version: 0.9.9.9
 ;; X-URL: https://github.com/victorhge/iedit
@@ -320,32 +320,32 @@ fob")))))
      (iedit-goto-first-occurrence)
      (should (= (point) 1))
      (should (= iedit-occurrence-index 1))
-     (iedit-next-occurrence)
+     (iedit-next-occurrence 1)
      (should (= (point) 7))
      (should (= iedit-occurrence-index 2))
-     (iedit-next-occurrence)
+     (iedit-next-occurrence 1)
      (should (= (point) 24))
      (should (= iedit-occurrence-index 3))
-     (iedit-next-occurrence)
+     (iedit-next-occurrence 1)
      (should (= (point) 24)) ;; (should (string= (current-message) "This is 
the last occurrence."))
      (should (= iedit-occurrence-index 3))
-     (iedit-next-occurrence)
+     (iedit-next-occurrence 1)
      (should (= (point) 1)) ;; (should (string= (current-message) "Located the 
first occurrence."))
      (should (= iedit-occurrence-index 1))
-     (iedit-next-occurrence)
+     (iedit-next-occurrence 1)
      (should (= (point) 7))
      (should (= iedit-occurrence-index 2))
      (goto-char (point-max))
-     (iedit-prev-occurrence)
+     (iedit-prev-occurrence 1)
      (should (= (point) 24))
      (should (= iedit-occurrence-index 3))
-     (iedit-prev-occurrence)
+     (iedit-prev-occurrence 1)
      (should (= (point) 7))
-     (iedit-prev-occurrence)
+     (iedit-prev-occurrence 1)
      (should (= (point) 1))
-     (iedit-prev-occurrence)
+     (iedit-prev-occurrence 1)
      (should (= (point) 1)) ;; (should (string= (current-message) "This is the 
first occurrence."))
-     (iedit-prev-occurrence)
+     (iedit-prev-occurrence 1)
      (should (= (point) 24)) ;; (should (string= (current-message) "Located 
the last occurrence."))
      )))
 
@@ -437,7 +437,7 @@ fob")))))
      (should (= 2 (length iedit-occurrences-overlays)))
      (iedit-toggle-case-sensitive)
      (should (= 3 (length iedit-occurrences-overlays)))
-     (iedit-next-occurrence)
+     (iedit-next-occurrence 1)
      (iedit-toggle-case-sensitive)
      (should (= 1 (length iedit-occurrences-overlays))))))
 
@@ -658,7 +658,7 @@ fob")))))
      (call-interactively 'iedit-rectangle-mode)
      (should (iedit-same-column))
      (should (equal (marker-position-list iedit-rectangle) '(1 22)))
-     (iedit-prev-occurrence)
+     (iedit-prev-occurrence 1)
      (delete-char -1)
      (should (not (iedit-same-column)))
      (should-error (iedit-kill-rectangle)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]