summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2015-08-20 12:00:32 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2015-08-20 12:00:32 +0300
commit049b38a834e0b32ded41797fc890cf0bc311eb2f (patch)
tree0c14dec8702c8403b9e8fcbd06685a3e59f0f3d0 /test
parent5237234a2c26e1580538881230ff9ec04e06dfb7 (diff)
Kill nrepl-close-client-sessions
There's a pretty slim chance that someone is using this one in a CIDER extension, so there's no point in keeping it around.
Diffstat (limited to 'test')
-rw-r--r--test/cider-tests.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/cider-tests.el b/test/cider-tests.el
index 18f3462c..7c72b672 100644
--- a/test/cider-tests.el
+++ b/test/cider-tests.el
@@ -237,8 +237,7 @@
(nrepl-make-connection-default a)
(nrepl-make-connection-default b)
;; closing a buffer should see it removed from the connection list
- (noflet ((nrepl-close-client-sessions () nil))
- (nrepl-close a))
+ (nrepl-close a)
(should (not (buffer-live-p a)))
(should (equal (append (list (buffer-name b)) connections)
(nrepl-connection-buffers)))
@@ -294,8 +293,7 @@
* 123.123.123.123 4006 \n\n"
(buffer-string)))
(goto-char 80) ; somewhere in the second connection listed
- (noflet ((nrepl-close-client-sessions () nil))
- (nrepl-connections-close-connection))
+ (nrepl-connections-close-connection)
(should (equal (list (buffer-name b1)) nrepl-connection-list))
(should (equal " Host Port Project