diff options
| author | Constantine Vetoshev <gepardcv@gmail.com> | 2019-09-27 13:40:38 -0700 |
|---|---|---|
| committer | Constantine Vetoshev <gepardcv@gmail.com> | 2019-09-27 13:40:38 -0700 |
| commit | 5c9f1d573f02567ed5f281e864a34b4503f4be87 (patch) | |
| tree | 2ad9fdbf034973b11e0333680cf5244a177f1958 /test | |
| parent | f7b05bd41494ae2d6013ce5bd770a87d580c58a5 (diff) | |
Add a test.
Diffstat (limited to 'test')
| -rw-r--r-- | test/test-perspective.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test-perspective.el b/test/test-perspective.el index 1114460..145db6c 100644 --- a/test/test-perspective.el +++ b/test/test-perspective.el @@ -69,4 +69,12 @@ (lambda (w) (should-not (memq (window-buffer w) (list A1 A2)))))))) +(ert-deftest issue-81-renaming-scratch-buffers () + (persp-test-with-persp + (persp-switch "A") + (should (get-buffer "*scratch* (A)")) + (persp-rename "B") + (should (not (get-buffer "*scratch* (A)"))) + (should (get-buffer "*scratch* (B)")))) + ;;; test-perspective.el ends here |
