emacs-diffs
[Top][All Lists]
Advanced

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

master 7c7d58f: Fix vc test for RCS


From: Lars Ingebrigtsen
Subject: master 7c7d58f: Fix vc test for RCS
Date: Sun, 29 Aug 2021 15:57:14 -0400 (EDT)

branch: master
commit 7c7d58f45463edf13f97f6b2496c5edc901ede45
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix vc test for RCS
    
    * test/lisp/vc/vc-tests.el (vc-test--rename-file): Fix test for RCS.
---
 test/lisp/vc/vc-tests.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/lisp/vc/vc-tests.el b/test/lisp/vc/vc-tests.el
index dbb8a9e..f2807a3 100644
--- a/test/lisp/vc/vc-tests.el
+++ b/test/lisp/vc/vc-tests.el
@@ -588,7 +588,10 @@ This checks also `vc-backend' and 
`vc-responsible-backend'."
             (should (not (file-exists-p tmp-name)))
             (should (file-exists-p new-name))
 
-            (should (equal (vc-state new-name) 'added))))
+            (should (equal (vc-state new-name)
+                           (if (eq backend 'RCS)
+                               'up-to-date
+                             'added)))))
 
       ;; Save exit.
       (ignore-errors



reply via email to

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