diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-09-07 11:00:09 +0100 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-09-07 11:00:09 +0100 |
commit | fff29561753c6721c5971237d197fa20f4b182f8 (patch) | |
tree | 50fcd29761759577887167b9aa33e8515274c285 /test | |
parent | 23f607dc0daa78321c756bed28ce9677546f201b (diff) |
Fix test-cider-connections-buffer
Diffstat (limited to 'test')
-rw-r--r-- | test/cider-tests.el | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/test/cider-tests.el b/test/cider-tests.el index 7d842ef0..d89837c3 100644 --- a/test/cider-tests.el +++ b/test/cider-tests.el @@ -301,13 +301,8 @@ * localhost 4005 proj\n\n" (buffer-string))) - (with-temp-buffer - (let ((b3 (current-buffer))) - (with-current-buffer b1 - (setq-local nrepl-repl-buffer b3)) - (with-current-buffer "*cider-connections*" - (cider-connections-goto-connection) - (should (equal b3 (current-buffer)))))) + (cider-connections-goto-connection) + (should (equal b1 (current-buffer))) (kill-buffer "*cider-connections*")))))))) (ert-deftest test-nrepl-format-buffer-name-template () |