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

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

[elpa] externals/compat ae2fd1c: Removed duplicate compat-file-name-with


From: ELPA Syncer
Subject: [elpa] externals/compat ae2fd1c: Removed duplicate compat-file-name-with-extension test definition
Date: Mon, 15 Nov 2021 17:57:12 -0500 (EST)

branch: externals/compat
commit ae2fd1ca0104e97f60f7b28321377415f995ccb1
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    Removed duplicate compat-file-name-with-extension test definition
---
 compat-tests.el | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/compat-tests.el b/compat-tests.el
index 9aa27fa..c7c297d 100644
--- a/compat-tests.el
+++ b/compat-tests.el
@@ -401,27 +401,6 @@ the compatibility function."
     (compat--should "/abs/file..ext" "/abs/file." "..ext")
     (compat--should "/abs/file...ext" "/abs/file.." "..ext")
     (compat--error error "file" "")
-    (compat--error error '"" "ext")
-    (compat--error error "file" "")
-    (compat--error error "rel/" "ext")
-    (compat--error error "/abs/" "ext")))
-
-(ert-deftest compat-file-name-with-extension ()
-  "Check if `compat--file-name-with-extension' was implemented correctly."
-  (compat-test file-name-with-extension
-    (compat--should "file.ext" "file" "ext")
-    (compat--should "file.ext" "file" ".ext")
-    (compat--should "file.ext" "file." ".ext")
-    (compat--should "file..ext" "file.." ".ext")
-    (compat--should "file..ext" "file." "..ext")
-    (compat--should "file...ext" "file.." "..ext")
-    (compat--should "/abs/file.ext" "/abs/file" "ext")
-    (compat--should "/abs/file.ext" "/abs/file" ".ext")
-    (compat--should "/abs/file.ext" "/abs/file." ".ext")
-    (compat--should "/abs/file..ext" "/abs/file.." ".ext")
-    (compat--should "/abs/file..ext" "/abs/file." "..ext")
-    (compat--should "/abs/file...ext" "/abs/file.." "..ext")
-    (compat--error error "file" "")
     (compat--error error "" "ext")
     (compat--error error "file" "")
     (compat--error error "rel/" "ext")



reply via email to

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