Tests: Declare buttercup dependency
Used in makem.sh to parse test dependencies.
This commit is contained in:
parent
501ab1543b
commit
a513f25b4a
1 changed files with 3 additions and 0 deletions
|
|
@ -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)))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue