aboutsummaryrefslogtreecommitdiff
path: root/tests/test-pearl-comment-editing.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-pearl-comment-editing.el')
-rw-r--r--tests/test-pearl-comment-editing.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-pearl-comment-editing.el b/tests/test-pearl-comment-editing.el
index 4853548..5d5204a 100644
--- a/tests/test-pearl-comment-editing.el
+++ b/tests/test-pearl-comment-editing.el
@@ -328,7 +328,7 @@ the refresh / add-comment / view-merge paths, never on the initial render."
(when (find-buffer-visiting tmp) (kill-buffer (find-buffer-visiting tmp)))
(ignore-errors (delete-file tmp)))))
-(ert-deftest test-pearl-add-comment-from-inside-comment-walks-up ()
+(ert-deftest test-pearl-create-comment-from-inside-comment-walks-up ()
"From inside a comment subtree, add-comment walks up to the enclosing issue and
adds the comment there rather than refusing."
(test-pearl--in-org (test-pearl--comment-doc "u-me" "stored" "uniquecommentline")
@@ -340,7 +340,7 @@ adds the comment there rather than refusing."
:created-at "2026-05-26T00:00:00.000Z" :body "hi")))))
(goto-char (point-min))
(re-search-forward "uniquecommentline") ; point inside the comment subtree
- (pearl-add-comment "hi"))
+ (pearl-create-comment "hi"))
;; resolved the enclosing issue's LINEAR-ID ("a"), not the comment's
(should (equal "a" created-on)))))