Hi,

Vagrant Cascadian <vagr...@debian.org> skribis:

> +(test-equal "synopsis: exclude @code from long synopsis"
> +  '()
> +  (single-lint-warning-message
> +   (let ((pkg (dummy-package "x"
> +                             (synopsis
> +                              (string-append
> +                                        "@code{X}"
> +                                        (make-string 72 #\X))))))
> +     (check-synopsis-style pkg))))

If you’re expecting an empty list (no warnings), remove the call to
‘single-lint-warning-message’: that one assumes you’re expecting exactly
one lint warning.

HTH!

Ludo’.

Reply via email to