branch: externals/plz
commit a5ccf48d80cd536a577062215a4563afd19d56af
Author: Adam Porter <[email protected]>
Commit: Adam Porter <[email protected]>
Tests: Add check/error to a test
---
tests/test-plz.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/test-plz.el b/tests/test-plz.el
index 49fd0271df..87294d1af8 100644
--- a/tests/test-plz.el
+++ b/tests/test-plz.el
@@ -129,6 +129,8 @@
(ert-deftest plz-post-jpeg-string nil
(let* ((jpeg-to-upload (plz 'get "https://httpbin.org/image/jpeg"
:as 'binary :then 'sync))
+ (_ (unless jpeg-to-upload
+ (error "jpeg-to-upload is nil")))
(response-json)
(response-jpeg)
(process (plz 'post "https://httpbin.org/post"