1
0
Fork 0

Minor rephrase

This commit is contained in:
Bram Schoenmakers 2024-02-18 22:18:29 +01:00
parent f5cc1475bb
commit e3e18dfc25
Signed by: bram
GPG key ID: 0CCD19DFDC63258F

View file

@ -305,7 +305,7 @@ https://www.example.com"
(expect (kagi-summarize dummy-http-url) :to-equal dummy-output))
(it "throws for an unsupported URL scheme"
(expect (kagi-summarize dummy-ftp-url) :to-throw))
(it "return a summary for a valid engine with different capitalization"
(it "returns a summary for a valid engine with different capitalization"
(expect (kagi-summarize dummy-https-url nil "Daphne") :to-equal dummy-output)
(let ((args (car (spy-calls-args-for #'kagi--call-summarizer 0))))
(expect (map-elt args "engine") :to-equal "daphne"))