fix: emacs tests

This commit is contained in:
Desmond 2024-05-27 10:42:09 +08:00
parent a3c6045328
commit 3f49b5a4ab

View file

@ -219,7 +219,7 @@ Rule everything\n")
(progn (progn
(should (should
(equal (equal
(khoj--render-files-as-request-body (list upgrade-file act-file) '() "khoj") (khoj--render-update-files-as-request-body (list upgrade-file act-file) "khoj")
(format (format
"\n--khoj\r\n\ "\n--khoj\r\n\
Content-Disposition: form-data; name=\"files\"; filename=\"%s\"\r\n\ Content-Disposition: form-data; name=\"files\"; filename=\"%s\"\r\n\
@ -244,7 +244,7 @@ Rule everything\n\n\r\n\
(progn (progn
(should (should
(equal (equal
(khoj--render-files-as-request-body (list upgrade-file act-file) (list upgrade-file act-file "/tmp/deleted-file.org") "khoj") (khoj--render-update-files-as-request-body (list upgrade-file act-file "/tmp/deleted-file.org") "khoj")
(format (format
"\n--khoj\r\n\ "\n--khoj\r\n\
Content-Disposition: form-data; name=\"files\"; filename=\"%s\"\r\n\ Content-Disposition: form-data; name=\"files\"; filename=\"%s\"\r\n\