commit 279c06021c0e7eebf6506f4575bb21c1168b6bef
parent a035deb09d7d8b50240183700a6d0709e6a11c7e
Author: Daniel Barlow <dan@telent.net>
Date: Mon, 4 Aug 2025 23:21:35 +0100
textile test: barf if file missing
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/textile.fnl b/textile.fnl
@@ -315,7 +315,7 @@ filesystem. "])
(define-tests :parse-stream
(fn convert [name]
- (with-open [f (io.open name :r)]
+ (with-open [f (assert (io.open name :r))]
(with-open [out (assert (io.tmpfile))]
(each [_ el (ipairs (parse-stream f))]
(to-html el out))