tests: Formatting; declare ert functions in print hack (#878)
Prevents byte-comp warnings.pull/881/head
parent
a3ebfcc0e7
commit
7262ebc96a
|
@ -1,4 +1,6 @@
|
|||
;; -*- lexical-binding: t; -*-
|
||||
(declare-function ert--pp-with-indentation-and-newline "ert")
|
||||
(declare-function ert-string-for-test-result "ert")
|
||||
|
||||
(defun +without-print-limits (fn &rest args)
|
||||
"Advice around functions which print in `ert' with hardcoded levels."
|
||||
|
|
|
@ -208,10 +208,10 @@ return nil."
|
|||
|
||||
(straight-deftest straight--build-steps ()
|
||||
(let* ((defaults
|
||||
(mapcar (lambda (sym)
|
||||
(intern (string-remove-prefix "straight-disable-"
|
||||
(symbol-name sym))))
|
||||
straight--build-default-steps))
|
||||
(mapcar (lambda (sym)
|
||||
(intern (string-remove-prefix "straight-disable-"
|
||||
(symbol-name sym))))
|
||||
straight--build-default-steps))
|
||||
(straight-disable-info
|
||||
(member 'info ,disabled))
|
||||
(straight-disable-compile
|
||||
|
|
Loading…
Reference in New Issue