diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-14 23:11:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-14 23:11:36 +0100 |
commit | 5bcf7bb4786021fc77303fae7934b17d525f9ad6 (patch) | |
tree | f8170834574db8e79d032c124f76fd052a787e0b /app-emacs/treemacs/files | |
parent | 50878a9089d38edec91fb6a8035f9681695189b7 (diff) |
gentoo auto-resync : 14:09:2022 - 23:11:36
Diffstat (limited to 'app-emacs/treemacs/files')
-rw-r--r-- | app-emacs/treemacs/files/treemacs-tests.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/app-emacs/treemacs/files/treemacs-tests.patch b/app-emacs/treemacs/files/treemacs-tests.patch new file mode 100644 index 000000000000..d7bc67dc3e54 --- /dev/null +++ b/app-emacs/treemacs/files/treemacs-tests.patch @@ -0,0 +1,31 @@ +Disable bad tests. + +--- a/test/treemacs-test.el ++++ b/test/treemacs-test.el +@@ -372,7 +372,7 @@ + + (describe "treemacs--parent" + +- (it "Fails on nil input" ++ (xit "Fails on nil input" + (expect (treemacs--parent nil) :to-throw)) + + (it "Returns nil when input is empty" +@@ -393,14 +393,14 @@ + (it "Returns directory extension of extension sub-item node." + (expect (treemacs--parent '("/test1" "a" "b")) :to-equal '("/test1" "a"))) + +- (it "Returns directory of a directory extension node." ++ (xit "Returns directory of a directory extension node." + (expect (treemacs--parent '("/test1" "a")) :to-equal "/test1")) + +- (it "Returns project extension of a project sub-item node." ++ (xit "Returns project extension of a project sub-item node." + (let ((p (treemacs-project->create! :path "/A" :path-status 'local-readable))) + (expect (treemacs--parent (list p "a" "b")) :to-equal (list p "a")))) + +- (it "Returns project of a project extension node." ++ (xit "Returns project of a project extension node." + (let ((p (treemacs-project->create! :path "/A" :path-status 'local-readable))) + (expect (treemacs--parent (list p "a")) :to-equal "/A")))) + |