Tests: Declare buttercup dependency

Used in makem.sh to parse test dependencies.
This commit is contained in:
Adam Porter 2019-12-31 21:13:50 -06:00
parent 501ab1543b
commit a513f25b4a

View file

@ -3,6 +3,7 @@
;; Copyright (C) 2019 Adam Porter ;; Copyright (C) 2019 Adam Porter
;; Author: Adam Porter <adam@alphapapa.net> ;; Author: Adam Porter <adam@alphapapa.net>
;; Package-Requires: ((buttercup))
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by ;; it under the terms of the GNU General Public License as published by
@ -66,6 +67,8 @@
(defun org-ql-test--format-result--query-preamble (sexp) (defun org-ql-test--format-result--query-preamble (sexp)
(-let* (((query preamble) (eval sexp)) (-let* (((query preamble) (eval sexp))
(preamble (when preamble (preamble (when preamble
;; NOTE: `xr' is used here, but this function is only called by
;; interactive helper commands in this file, not when running tests.
(xr preamble 'brief)))) (xr preamble 'brief))))
(format "`(%S ,(rx %S))" query preamble))) (format "`(%S ,(rx %S))" query preamble)))