Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
agzam committed Dec 7, 2024
1 parent 4571b46 commit 983488a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions neil-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 983488a

Please sign in to comment.