Skip to content

Commit 5801074

Browse files
committed
Remove a reference to nrepl-close
1 parent 3e586da commit 5801074

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/cider-tests.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,14 +275,14 @@
275275
(should (string= (cider--connection-info (current-buffer))
276276
"CLJ <no project>@localhost:4005 (Java 1.7, Clojure 1.5.1, nREPL 0.2.1)")))))
277277

278-
(ert-deftest test-nrepl-close ()
278+
(ert-deftest test-cider--close-connection-buffer ()
279279
(let ((connections (cider-connections)))
280280
(cider-test-with-buffers
281281
(a b)
282282
(cider-make-connection-default a)
283283
(cider-make-connection-default b)
284284
;; closing a buffer should see it removed from the connection list
285-
(nrepl-close a)
285+
(cider--close-connection-buffer a)
286286
(should (not (buffer-live-p a)))
287287
(should (equal (cons b connections)
288288
(cider-connections)))

0 commit comments

Comments
 (0)