tests: Formatting; declare ert functions in print hack (#878)

Prevents byte-comp warnings.
pull/881/head
Nicholas Vollmer 2021-11-05 15:58:14 -04:00 committed by GitHub
parent a3ebfcc0e7
commit 7262ebc96a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -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."

View File

@ -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