branch: elpa/aidermacs
commit 4ba061e8567685919a9779cc4e6bf69fd6d6436c
Author: Kang Tu <kang...@apple.com>
Commit: Kang Tu (aider) <kang...@apple.com>

    refactor: Simplify test generation instructions in aider.el
---
 aider.el | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/aider.el b/aider.el
index 823453cacc..82651c876c 100644
--- a/aider.el
+++ b/aider.el
@@ -594,11 +594,7 @@ Otherwise, generate unit tests for the entire file."
     (if (string-match-p "test" (file-name-nondirectory buffer-file-name))
         (message "Current buffer appears to be a test file.")
       (let* ((function-name (which-function))
-             (common-instructions "Include test cases for:
-1. Normal input/output scenarios
-2. Edge cases and boundary conditions
-3. Error handling and invalid inputs
-Make the test comprehensive but maintainable. Do not use Mock if possible. 
Follow standard unit testing practices.")
+             (common-instructions "Keep existing tests if there are. Do not 
use Mock if possible. Follow standard unit testing practices.")
              (initial-input
               (if function-name
                   (format "Please write unit test code for function '%s'. %s" 

Reply via email to