From bdc7d5e3aa70179061b798be1abd927868767f6e 2014-08-25 11:33:14 From: Sergey Pashinin Date: 2014-08-25 11:33:14 Subject: [PATCH] Should not be modified on start --- diff --git a/tests/workgroups2-tests.el b/tests/workgroups2-tests.el index 8f982b94cb55d3369ba931fd065e2d354d569559..72dc3cfa01cbaf60988d4838a4059d5b8807c0bf 100644 --- a/tests/workgroups2-tests.el +++ b/tests/workgroups2-tests.el @@ -11,16 +11,18 @@ (should-not workgroups-mode)) (ert-deftest 010-activate () + ;;(if (file-exists-p "/tmp/wg-test") + ;; (delete-file "/tmp/wg-test")) (setq wg-session-file "/tmp/wg-test") (workgroups-mode 1) (should workgroups-mode) (should (string= (wg-get-session-file) "/tmp/wg-test"))) (ert-deftest wg-modeline-string () - (should (string= (wg-mode-line-string) " (First workgroup:*-)")) + (should (string= (wg-mode-line-string) " (First workgroup:--)")) (setq wg-mode-line-decor-left-brace "[" wg-mode-line-decor-right-brace "]") - (should (string= (wg-mode-line-string) " [First workgroup:*-]")) + (should (string= (wg-mode-line-string) " [First workgroup:--]")) (setq wg-flag-modified nil) (should (string= (wg-mode-line-string) " [First workgroup]")) )