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-merge.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-merge.el')
| -rw-r--r-- | tests/test-pearl-merge.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-pearl-merge.el b/tests/test-pearl-merge.el index 180539e..e55127b 100644 --- a/tests/test-pearl-merge.el +++ b/tests/test-pearl-merge.el @@ -193,7 +193,7 @@ subtree, so every description-less issue read as a local edit." (goto-char (point-min)) (re-search-forward "^\\*\\* ") (beginning-of-line) - (should (string= "" (pearl--issue-body-at-point))) + (should (string= "" (pearl--entry-body-at-point))) (should-not (pearl--subtree-dirty-p)))) (ert-deftest test-pearl-subtree-dirty-p-edited-body-is-dirty () |
