]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix tramp-tests.el
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 1 Apr 2015 15:04:07 +0000 (17:04 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 1 Apr 2015 15:04:07 +0000 (17:04 +0200)
* automated/tramp-tests.el (tramp-test06-directory-file-name):
Fix docstring and last test.

test/ChangeLog
test/automated/tramp-tests.el

index 485443115534764607d13e2eed11f42471706f1b..fa3c45d9d4537bfec4182bb0c71d2ce7e5884232 100644 (file)
@@ -1,3 +1,8 @@
+2015-04-01  Michael Albinus  <michael.albinus@gmx.de>
+
+       * automated/tramp-tests.el (tramp-test06-directory-file-name):
+       Fix docstring and last test.
+
 2015-04-01  Nicolas Petton  <nicolas@petton.fr>
 
        * Version 24.5 released.
index 6b0d89f9b0af5a37ec206b25627d615fd7e3f0a6..dca188a9eb686b7cc21bed26b3d2421f4248d8d6 100644 (file)
@@ -558,8 +558,8 @@ shall not contain a timeout."
 
 (ert-deftest tramp-test06-directory-file-name ()
   "Check `directory-file-name'.
-This checks also `file-name-as-directory', `file-name-directory'
-and `file-name-nondirectory'."
+This checks also `file-name-as-directory', `file-name-directory',
+`file-name-nondirectory' and `unhandled-file-name-directory'."
   (should
    (string-equal
     (directory-file-name "/method:host:/path/to/file")
@@ -589,8 +589,7 @@ and `file-name-nondirectory'."
   (should
    (string-equal (file-name-nondirectory "/method:host:/path/to/file/") ""))
   (should-not
-   (file-remote-p
-    (unhandled-file-name-directory "/method:host:/path/to/file"))))
+   (unhandled-file-name-directory "/method:host:/path/to/file")))
 
 (ert-deftest tramp-test07-file-exists-p ()
   "Check `file-exist-p', `write-region' and `delete-file'."