[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix lint false positives and RFC patch
From: |
Ludovic Courtès |
Subject: |
Re: guix lint false positives and RFC patch |
Date: |
Thu, 17 Nov 2022 16:03:03 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
Vagrant Cascadian <vagrant@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’.