Skip to content

Commit e18afd4

Browse files
dan suttonbbatsov
authored andcommitted
Correct test namespace test
combined the two tests (which actually had the same name so it shadowed the first one) and correct the update path for adding the clojure version
1 parent 832c7ba commit e18afd4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/clj/cider/nrepl/plugin_test.clj

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@
3838
(deftest version-checks
3939
(testing "undefined versions work"
4040
(is (= expected-output
41-
(middleware {:dependencies [['org.clojure/clojure]]})))))
42-
43-
(deftest version-checks
41+
(middleware {:dependencies [['org.clojure/clojure]]}))))
4442
(testing "defined versions also work"
45-
(is (= (update-in expected-output [:dependencies 0 0] conj "1.10.0")
43+
(is (= (update-in expected-output [:dependencies 0] conj "1.10.0")
4644
(middleware {:dependencies [['org.clojure/clojure "1.10.0"]]})))))

0 commit comments

Comments
 (0)