diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-25 07:45:56 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-25 07:45:56 -0500 |
| commit | bd2aa5705d94b7d403096c62637e64c479ea0de5 (patch) | |
| tree | e207aa2b99c0b11635b2bc34ead5da269e03015f /tests/test-pearl-refresh.el | |
| parent | 808ca1183c5288183fd3be2607887e21ae6e9c68 (diff) | |
| download | pearl-bd2aa5705d94b7d403096c62637e64c479ea0de5.tar.gz pearl-bd2aa5705d94b7d403096c62637e64c479ea0de5.zip | |
refactor: rename pearl--issue-body-at-point to pearl--entry-body-at-point
The helper returns the body of the Org entry at point, before any child heading. It started out reading issue descriptions, but comment editing and deletion reuse it for comment bodies too, so "issue" in the name was misleading. I renamed it across its callers and the sync/refresh/save/comment tests, and reworded the docstring to say "entry".
Diffstat (limited to 'tests/test-pearl-refresh.el')
| -rw-r--r-- | tests/test-pearl-refresh.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-pearl-refresh.el b/tests/test-pearl-refresh.el index 6b8ba7b..ba17836 100644 --- a/tests/test-pearl-refresh.el +++ b/tests/test-pearl-refresh.el @@ -100,7 +100,7 @@ (should (string-match-p "Refreshed Title" (thing-at-point 'line t))) (should (string= "In Progress" (org-entry-get nil "LINEAR-STATE-NAME"))) ;; body is the remote description, and provenance matches it - (should (string= "New remote desc." (pearl--issue-body-at-point))) + (should (string= "New remote desc." (pearl--entry-body-at-point))) (should (string= (secure-hash 'sha256 "New remote desc.") (org-entry-get nil "LINEAR-DESC-SHA256")))))) |
