aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test-perspective.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test-perspective.el b/test/test-perspective.el
index fddc8fa..5069cb8 100644
--- a/test/test-perspective.el
+++ b/test/test-perspective.el
@@ -245,4 +245,12 @@ persp-test-make-sample-environment."
(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