Skip to content

Commit db9f837

Browse files
committed
style: satisfy prompt suffix checkdoc
1 parent 36634ce commit db9f837

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ai-code-prompt-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ non-empty string or nil. Provider errors abort the send."
8888
(cond
8989
((null suffix) nil)
9090
((not (stringp suffix))
91-
(error "returned %S instead of a string or nil" suffix))
91+
(error "Returned %S instead of a string or nil" suffix))
9292
((string-empty-p suffix) nil)
9393
(t suffix)))
9494
(error

test/test_ai-code-prompt-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
(ert-deftest ai-code-test-prompt-suffix-provider-error-aborts-send ()
7676
"A failing suffix provider should stop the send operation."
7777
(let ((ai-code-prompt-suffix-functions
78-
(list (lambda (_context) (error "broken provider"))))
78+
(list (lambda (_context) (error "Broken provider"))))
7979
(ai-code-prompt-suffix nil)
8080
(ai-code-auto-test-type nil)
8181
(ai-code-auto-test-suffix nil)

0 commit comments

Comments
 (0)