Skip to content

Commit

Permalink
Correct tests for `projectile-arse-dirconfig-file'
Browse files Browse the repository at this point in the history
* test/projectile-test.el (projectile-parse-dirconfig-file): Expect
the fourth element representing the project name.

This is just to make sure the tests succeed.  A proper test for
project names should be written.
  • Loading branch information
Thuna-Cing committed Oct 6, 2022
1 parent 7f7627b commit 439cf92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/projectile-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -422,15 +422,15 @@ Just delegates OPERATION and ARGS for all operations except for`shell-command`'.
"no-prefix"
"left-wspace"
"right-wspace")
nil))
nil nil))
;; same test - but with comment lines enabled using prefix '#'
(let ((projectile-dirconfig-comment-prefix ?#))
(expect (projectile-parse-dirconfig-file) :to-equal '(("include/")
("exclude"
"no-prefix"
"left-wspace"
"right-wspace")
nil)))
nil nil)))
))

(describe "projectile-get-project-directories"
Expand Down

0 comments on commit 439cf92

Please sign in to comment.