summaryrefslogtreecommitdiff
path: root/cider-test.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar.batsov@gmail.com>2015-11-10 18:09:04 +0200
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2015-11-10 18:09:04 +0200
commit9130031c5ec7bc95320f0bf48f1ba98082bc758e (patch)
treeedc5f4d65f0b3967409a3c9b17655225361af84e /cider-test.el
parent6c5eea67dfd99a5f09a78fb19cc336571e3d8091 (diff)
parent47a899d713f250e54e7dbfda1bd6b406f4a63021 (diff)
Merge pull request #1410 from Fabricationatorishnicatorist/fix_1405
[Fix #1405] Always update test-report but pop buffer only as appropriate
Diffstat (limited to 'cider-test.el')
-rw-r--r--cider-test.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/cider-test.el b/cider-test.el
index 18744831..88179624 100644
--- a/cider-test.el
+++ b/cider-test.el
@@ -457,8 +457,11 @@ displayed. When test failures/errors occur, their sources are highlighted."
cider-auto-select-test-report-buffer)
ns summary results)
(when (get-buffer cider-test-report-buffer)
+ (with-current-buffer cider-test-report-buffer
+ (let ((inhibit-read-only t))
+ (erase-buffer)))
(cider-test-render-report
- (cider-popup-buffer cider-test-report-buffer)
+ cider-test-report-buffer
ns summary results))))))))))
(defun cider-test-rerun-tests ()