diff options
author | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2015-11-10 18:09:04 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2015-11-10 18:09:04 +0200 |
commit | 9130031c5ec7bc95320f0bf48f1ba98082bc758e (patch) | |
tree | edc5f4d65f0b3967409a3c9b17655225361af84e /cider-test.el | |
parent | 6c5eea67dfd99a5f09a78fb19cc336571e3d8091 (diff) | |
parent | 47a899d713f250e54e7dbfda1bd6b406f4a63021 (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.el | 5 |
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 () |