summaryrefslogtreecommitdiff
path: root/tests/test-wttrin-fetch-raw-string.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-wttrin-fetch-raw-string.el')
-rw-r--r--tests/test-wttrin-fetch-raw-string.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-wttrin-fetch-raw-string.el b/tests/test-wttrin-fetch-raw-string.el
index 34db7f9..e775025 100644
--- a/tests/test-wttrin-fetch-raw-string.el
+++ b/tests/test-wttrin-fetch-raw-string.el
@@ -47,7 +47,7 @@
(lambda (_url callback)
(funcall callback "weather response"))))
(wttrin-fetch-raw-string "Paris"
- (lambda (data) (setq received-data data)))
+ (lambda (data &optional _error-msg) (setq received-data data)))
(should (equal received-data "weather response"))))
(test-wttrin-fetch-raw-string-teardown)))