Skip to content

Commit

Permalink
Give pedantic test project a repository to find its deps in.
Browse files Browse the repository at this point in the history
Without this, tests fail when they're run on an empty local repo.
  • Loading branch information
technomancy committed Jan 28, 2024
1 parent b4fe424 commit 7d8d357
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions leiningen-core/test/leiningen/core/test/pedantic.clj
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@

(deftest dont-suggest-on-duplicates
(let [project {:root "/tmp"
:repositories [["c" {:url "https://repo1.maven.org/maven2/"
:snapshots false}]]
:dependencies '[[commons-logging "1.2"]
[commons-logging "1.2"]]
:pedantic? :abort}]
Expand Down

0 comments on commit 7d8d357

Please sign in to comment.