diff options
| author | Bozhidar Batsov <bozhidar@batsov.dev> | 2026-02-13 14:53:39 +0200 |
|---|---|---|
| committer | Bozhidar Batsov <bozhidar@batsov.dev> | 2026-02-13 14:53:39 +0200 |
| commit | 86724c53bdb0d97d2a0af99373a7bc61c43abc57 (patch) | |
| tree | a1ae5e0e0f9c04ad3653937a18abb4a7afdd65ba /test | |
| parent | 4dbcda27d6870990421e217c8379b14037d9239f (diff) | |
Minor cleanup of the #1897 fix
- Use cl-remove-if instead of seq-remove for consistency with the rest
of the codebase.
- Remove unnecessary project/.git/ from test fixture (git init creates it).
- Remove unnecessary projectile-indexing-method binding in test.
Diffstat (limited to 'test')
| -rw-r--r-- | test/projectile-test.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/projectile-test.el b/test/projectile-test.el index 25c96f1..7864c09 100644 --- a/test/projectile-test.el +++ b/test/projectile-test.el @@ -537,12 +537,10 @@ Just delegates OPERATION and ARGS for all operations except for`shell-command`'. (projectile-test-with-sandbox (projectile-test-with-files ("project/" - "project/.git/" "project/existing.txt") (let ((default-directory (file-truename (expand-file-name "project/"))) (projectile-git-use-fd nil) - (projectile-fd-executable nil) - (projectile-indexing-method 'alien)) + (projectile-fd-executable nil)) ;; Initialize a real git repo, commit a file, then delete it without staging (call-process "git" nil nil nil "init") (call-process "git" nil nil nil "config" "user.email" "test@test.com") |
