diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-07 08:07:55 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-07 08:07:55 -0500 |
| commit | 95209466881d3e6fd4f0d097358b16842d83ec6d (patch) | |
| tree | 4af9ef7f05a29b0389c203b86168bfaa1e1169df /tests | |
| parent | e2208276021def42dadd5e422aa96e9004040dd9 (diff) | |
| download | pearl-95209466881d3e6fd4f0d097358b16842d83ec6d.tar.gz pearl-95209466881d3e6fd4f0d097358b16842d83ec6d.zip | |
style(render): space the account name from Pearl in the lighter
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test-pearl-accounts.el | 2 | ||||
| -rw-r--r-- | tests/test-pearl-modified.el | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-pearl-accounts.el b/tests/test-pearl-accounts.el index 2a4cb69..7994905 100644 --- a/tests/test-pearl-accounts.el +++ b/tests/test-pearl-accounts.el @@ -393,7 +393,7 @@ fetching the active account's issues into it would cross workspaces." "The lighter names the active account when accounts are configured." (let ((pearl-accounts '(("work" :api-key-source (:literal "kw") :org-file "/tmp/w.org"))) (pearl-active-account "work")) - (should (string-equal " Pearl[work]" (pearl--mode-line-lighter))))) + (should (string-equal " Pearl [work]" (pearl--mode-line-lighter))))) (ert-deftest test-pearl-mode-line-lighter-plain-in-legacy () "Without accounts the lighter is the plain \" Pearl\"." diff --git a/tests/test-pearl-modified.el b/tests/test-pearl-modified.el index 8529b07..e951260 100644 --- a/tests/test-pearl-modified.el +++ b/tests/test-pearl-modified.el @@ -68,7 +68,7 @@ (pearl-ticket-glyph "🎫") (pearl--modified-count 3)) (let ((s (pearl--mode-line-lighter))) - (should (string-match-p "Pearl\\[work\\]" s)) + (should (string-match-p "Pearl \\[work\\]" s)) (should (string-match-p "3" s)) (should (string-match-p "🎫" s)) (should (string-match-p "changed" s))))) @@ -89,7 +89,7 @@ (pearl-show-modified-indicator t) (pearl--modified-count 0)) (let ((s (pearl--mode-line-lighter))) - (should (string-match-p "Pearl\\[work\\]" s)) + (should (string-match-p "Pearl \\[work\\]" s)) (should-not (string-match-p "changed" s))))) (ert-deftest test-pearl-mode-line-indicator-off-suppresses-count () |
