branch: elpa/aidermacs commit c6d5604fca4bdfb4905f703884c3c36d53effeed Author: Your Name (aider) <y...@example.com> Commit: Your Name (aider) <y...@example.com>
test: update aider-buffer-name-from-git-repo-path tests with home-path --- test_aider.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test_aider.el b/test_aider.el index 68c6fb6acf..f6c6ace40b 100644 --- a/test_aider.el +++ b/test_aider.el @@ -3,11 +3,11 @@ (ert-deftest aider-buffer-name-from-git-repo-path-test () "Test the aider-buffer-name-from-git-repo-path function." - (should (equal (aider-buffer-name-from-git-repo-path "/Users/username/git/repo") + (should (equal (aider-buffer-name-from-git-repo-path "/Users/username/git/repo" "/Users/username") "*aider:~git/repo*")) - (should (equal (aider-buffer-name-from-git-repo-path "/home/username/git/repo") + (should (equal (aider-buffer-name-from-git-repo-path "/home/username/git/repo" "/home/username") "*aider:~git/repo*")) - (should (equal (aider-buffer-name-from-git-repo-path "/Users/username/git/repo/subdir") + (should (equal (aider-buffer-name-from-git-repo-path "/Users/username/git/repo/subdir" "/Users/username") "*aider:~git/repo/subdir*")) - (should (equal (aider-buffer-name-from-git-repo-path "/home/username/git/repo/subdir") + (should (equal (aider-buffer-name-from-git-repo-path "/home/username/git/repo/subdir" "/home/username") "*aider:~git/repo/subdir*")))