File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 271
271
(with-temp-buffer
272
272
(setq major-mode 'clojurescript-mode )
273
273
(expect (cider-repls) :to-equal (list bb2 bb1))
274
- (expect (cider-repls " cljs" ) :to-equal (list bb2))))))))))))))
274
+ (expect (cider-repls " cljs" ) :to-equal (list bb2)))))))))))))
275
+
276
+ (describe " killed buffers"
277
+ (it " do not show up in it"
278
+ (let ((default-directory " /tmp/some-dir" ))
279
+ (cider-test-with-buffers
280
+ (a b)
281
+ (let ((session (list " some-session" a b)))
282
+ (with-current-buffer a
283
+ (setq cider-repl-type " clj" ))
284
+ (with-current-buffer b
285
+ (setq cider-repl-type " clj" ))
286
+ (sesman-register 'CIDER session)
287
+ (expect (cider-repls) :to-equal (list a b))
288
+ (kill-buffer b)
289
+ (expect (cider-repls) :to-equal (list a))
290
+ (sesman-unregister 'CIDER session)))))))
275
291
276
292
(describe " cider--connection-info"
277
293
(spy-on 'cider--java-version :and-return-value " 1.7" )
You can’t perform that action at this time.
0 commit comments