1 parent 36634ce commit db9f837Copy full SHA for db9f837
2 files changed
ai-code-prompt-mode.el
@@ -88,7 +88,7 @@ non-empty string or nil. Provider errors abort the send."
88
(cond
89
((null suffix) nil)
90
((not (stringp suffix))
91
- (error "returned %S instead of a string or nil" suffix))
+ (error "Returned %S instead of a string or nil" suffix))
92
((string-empty-p suffix) nil)
93
(t suffix)))
94
(error
test/test_ai-code-prompt-mode.el
@@ -75,7 +75,7 @@
75
(ert-deftest ai-code-test-prompt-suffix-provider-error-aborts-send ()
76
"A failing suffix provider should stop the send operation."
77
(let ((ai-code-prompt-suffix-functions
78
- (list (lambda (_context) (error "broken provider"))))
+ (list (lambda (_context) (error "Broken provider"))))
79
(ai-code-prompt-suffix nil)
80
(ai-code-auto-test-type nil)
81
(ai-code-auto-test-suffix nil)
0 commit comments