diff options
Diffstat (limited to 'app-emacs/treemacs/files/treemacs-3.0-tests.patch')
-rw-r--r-- | app-emacs/treemacs/files/treemacs-3.0-tests.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/app-emacs/treemacs/files/treemacs-3.0-tests.patch b/app-emacs/treemacs/files/treemacs-3.0-tests.patch new file mode 100644 index 000000000000..d7bc67dc3e54 --- /dev/null +++ b/app-emacs/treemacs/files/treemacs-3.0-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")))) + |