aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.dev>2022-10-28 09:37:25 +0300
committerBozhidar Batsov <bozhidar@batsov.dev>2022-10-28 09:37:25 +0300
commit6261561052b128c0a0e352e726453e7ac6f8dbdc (patch)
tree6cc5642576cbef12d92bb1010b03e77130a5b3a1 /test
parentfc497d045423b393564b5b35fee2f9743c3ad115 (diff)
Revert "[Fix #1804] Make it possible to ignore special project buffers"
This reverts commit f5a2a3ab268b905c796de255e04790e6e69a61ab. This out we already had this functionality under the name `projectile-globally-ignored-buffers`.
Diffstat (limited to 'test')
-rw-r--r--test/projectile-test.el14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/projectile-test.el b/test/projectile-test.el
index cf445a1..875b01e 100644
--- a/test/projectile-test.el
+++ b/test/projectile-test.el
@@ -1038,20 +1038,6 @@ Just delegates OPERATION and ARGS for all operations except for`shell-command`'.
(expect (current-buffer) :to-be (get-file-buffer "project/file")))))))
-(describe "projectile-ignored-project-buffers-p"
- (it "checks if buffer should never associated with any specific project"
- (let ((projectile-ignore-special-project-buffers t)
- (projectile-ignored-project-buffers '("*nrepl messages*" "*something*")))
- (expect (projectile-ignored-project-buffers-p (get-buffer-create "*nrepl messages*")) :to-be-truthy)
- (expect (projectile-ignored-project-buffers-p (get-buffer-create "*something*")) :to-be-truthy)
- (expect (projectile-ignored-project-buffers-p (get-buffer-create "test")) :not :to-be-truthy)))
- (it "check if buffer should not ignored when not enabled"
- (let ((projectile-ignore-special-project-buffers nil)
- (projectile-ignored-project-buffers '("*nrepl messages*" "*something*")))
- (expect (projectile-ignored-project-buffers-p (get-buffer-create "*nrepl messages*")) :not :to-be-truthy)
- (expect (projectile-ignored-project-buffers-p (get-buffer-create "*something*")) :not :to-be-truthy)
- (expect (projectile-ignored-project-buffers-p (get-buffer-create "test")) :not :to-be-truthy))))
-
(describe "projectile-ignored-buffer-p"
(it "checks if buffer should be ignored"
(let ((projectile-globally-ignored-buffers '("*nrepl messages*" "*something*")))