Skip to content

Commit

Permalink
test: Add test for bb.edn
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidz committed Nov 17, 2022
1 parent 4770864 commit 74b8bfb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 8 additions & 1 deletion test/antq/dep/babashka_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,12 @@
:name "bb/core"
:version "1.0.0"
:project :clojure
:repositories nil})
(r/map->Dependency {:type :java
:file "test/resources/dep/test_bb.edn"
:name "with/meta"
:version "2.0.0"
:project :clojure
:repositories nil})]
(sut/load-deps "test/resources/dep")))))
(->> (sut/load-deps "test/resources/dep")
(sort-by :name))))))
4 changes: 3 additions & 1 deletion test/resources/dep/test_bb.edn
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{:deps {bb/core {:mvn/version "1.0.0"}}}
{:deps {bb/core {:mvn/version "1.0.0"}
with/meta ^:foo/bar {:mvn/version "2.0.0"}
meta/ignore ^:antq/exclude {:mvn/version "3.0.0"}}}

0 comments on commit 74b8bfb

Please sign in to comment.