aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Schwartzmeyer <andrew@schwartzmeyer.com>2018-09-28 23:55:45 -0700
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2018-09-30 21:32:46 +0300
commitb835c836077c81618e3900d7cc687d85aea06ee3 (patch)
tree481ed0b05b0e71ef3cc86e88aba30b4cfa5ef714 /test
parent3ddccd7407b60e61085c1d8d7666133f5b4984e6 (diff)
[Fix #1299] Support `nil` for `projectile-git-submodule-command`
Diffstat (limited to 'test')
-rw-r--r--test/projectile-test.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/projectile-test.el b/test/projectile-test.el
index 06a133b..6e4f93e 100644
--- a/test/projectile-test.el
+++ b/test/projectile-test.el
@@ -198,6 +198,10 @@
(let ((projectile-indexing-method 'alien))
(should (equal '("a/b/c" "a/d/e") (projectile-dir-files "/my/root/" "a/"))))))
+(ert-deftest projectile-test-files-via-ext-command ()
+ (should (not (projectile-files-via-ext-command "" "")))
+ (should (not (projectile-files-via-ext-command "" nil))))
+
(ert-deftest projectile-test-setup-hook-functions-projectile-mode ()
(noflet ((projectile--cleanup-known-projects () nil)
(projectile-discover-projects-in-search-path () nil))