Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
darkleaf committed Oct 31, 2024
1 parent b5337c1 commit a8e2580
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/darkleaf/di/add_side_dependency_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -139,5 +139,8 @@
::unused 0
::side-dep :side-dep}
(di/add-side-dependency ::side-dep)
(di/update-key ::unused inc))]
(t/is (->> info (map :key) (filter #{::side-dep}) first some?))))
(di/update-key ::unused inc))
keys (into #{}
(map :key)
info)]
(t/is (contains? keys ::side-dep))))

0 comments on commit a8e2580

Please sign in to comment.