Skip to content

Commit 439cf92

Browse files
committed
Correct tests for `projectile-arse-dirconfig-file'
* 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.
1 parent 7f7627b commit 439cf92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/projectile-test.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,15 +422,15 @@ Just delegates OPERATION and ARGS for all operations except for`shell-command`'.
422422
"no-prefix"
423423
"left-wspace"
424424
"right-wspace")
425-
nil))
425+
nil nil))
426426
;; same test - but with comment lines enabled using prefix '#'
427427
(let ((projectile-dirconfig-comment-prefix ?#))
428428
(expect (projectile-parse-dirconfig-file) :to-equal '(("include/")
429429
("exclude"
430430
"no-prefix"
431431
"left-wspace"
432432
"right-wspace")
433-
nil)))
433+
nil nil)))
434434
))
435435

436436
(describe "projectile-get-project-directories"

0 commit comments

Comments
 (0)