File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ for more information."
438438 (if (< elapsed eask-minimum-reported-time)
439439 (ignore-errors (eask-msg , msg-end ))
440440 (ignore-errors (eask-write , msg-end ))
441- (eask-msg (ansi-white ( format " (%. 3fs) " elapsed) )))))
441+ (eask-msg (format " (%. 3fs) " elapsed)))))
442442 (ignore-errors (eask-write , msg-start )) , body
443443 (ignore-errors (eask-msg , msg-end ))))
444444
@@ -2083,7 +2083,7 @@ Arguments FNC and ARGS are used for advice `:around'."
20832083 (end-of-line )
20842084 (setq max-column (max (current-column ) max-column)))
20852085 (eask-msg (concat " ''" (spaces-string max-column) " ''" ))
2086- (eask-msg (ansi-white ( buffer-string ) ))
2086+ (eask-msg (buffer-string ))
20872087 (eask-msg (concat " ''" (spaces-string max-column) " ''" ))))
20882088
20892089(defun eask-help (command &optional print-or-exit-code )
Original file line number Diff line number Diff line change 2929
3030Arguments FNC and ARGS are used for advice `:around' ."
3131 (if eask-test-ert--message-loop (apply fnc args)
32- (let ((eask-test-ert--message-loop t ))
32+ (let ((eask-test-ert--message-loop t )
33+ (text (ignore-errors (apply #'format args))))
3334 (cond
3435 ; ; (message nil) is used to clear the minibuffer
3536 ; ; However, format requires the first argument to be a format string
3637 ((null (car args))
3738 (apply fnc args))
38- ((string-match-p " ^[ ]+FAILED " ( apply # 'format args) )
39- (eask-msg (ansi-red ( apply # 'format args) )))
40- ((string-match-p " ^[ ]+SKIPPED " ( apply # 'format args) )
41- (eask-msg (ansi-white ( apply # 'format args)) ))
42- ((string-match-p " ^[ ]+passed " ( apply # 'format args) )
43- (eask-msg (ansi-green ( apply # 'format args) )))
39+ ((string-match-p " ^[ ]+FAILED " text )
40+ (eask-msg (ansi-red text )))
41+ ((string-match-p " ^[ ]+SKIPPED " text )
42+ (eask-msg text ))
43+ ((string-match-p " ^[ ]+passed " text )
44+ (eask-msg (ansi-green text )))
4445 (t (apply fnc args))))))
4546
4647(advice-add 'message :around #'eask-test-ert--message )
You can’t perform that action at this time.
0 commit comments