diff --git a/neil-tests.el b/neil-tests.el index a7c1c3c..26f9fa1 100644 --- a/neil-tests.el +++ b/neil-tests.el @@ -80,6 +80,11 @@ (it "shouldn't throw 'executable not found' error" (expect (neil-find-clojure-package "test-pkg") :not :to-throw)) + (it "should work for clj -M:neil" + (let ((neil-executable-path "clj -M:neil")) + (expect (neil-find-clojure-package "test-pkg") :to-equal + "foo/test-pkg {:mvn/version \"1.0.0\"}"))) + (it "for clojure-cli, without version prompt" (spy-on #'neil--identify-project-build-tool :and-return-value '(clojure-cli)) (let ((neil-prompt-for-version-p nil))