]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix test in files-tests.el
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 15 Aug 2023 10:02:03 +0000 (12:02 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 15 Aug 2023 10:02:03 +0000 (12:02 +0200)
* test/lisp/files-tests.el
(files-tests-file-name-non-special-unhandled-file-name-directory):
Fix test.

test/lisp/files-tests.el

index 7fb862e78920776655d98c0de2da6519b0d967e8..0e460009cea3db5d6aeede51cd1a3c9e3253ace8 100644 (file)
@@ -1226,8 +1226,8 @@ unquoted file names."
                    (file-name-as-directory tmpdir))))
   (files-tests--with-temp-non-special-and-file-name-handler
       (tmpdir nospecial-dir t)
-    (should (equal (unhandled-file-name-directory nospecial-dir)
-                   (file-name-as-directory tmpdir)))))
+    (should-not (equal (unhandled-file-name-directory nospecial-dir)
+                       (file-name-as-directory tmpdir)))))
 
 (ert-deftest files-tests-file-name-non-special-vc-registered ()
   (files-tests--with-temp-non-special (tmpfile nospecial)