mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
lint: Fix indentation.
* guix/lint.scm(check-synopsis-style): Add white space. * tests/lint.scm: Fix indentation. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I8e08fa43131c586065b742fc441172c9408877a3
This commit is contained in:
committed by
Ludovic Courtès
parent
536202958c
commit
dac3011477
@@ -171,14 +171,14 @@
|
||||
"description contains leading whitespace"
|
||||
(single-lint-warning-message
|
||||
(let ((pkg (dummy-package "x"
|
||||
(description " Whitespace."))))
|
||||
(description " Whitespace."))))
|
||||
(check-description-style pkg))))
|
||||
|
||||
(test-equal "description: trailing whitespace"
|
||||
"description contains trailing whitespace"
|
||||
(single-lint-warning-message
|
||||
(let ((pkg (dummy-package "x"
|
||||
(description "Whitespace. "))))
|
||||
(description "Whitespace. "))))
|
||||
(check-description-style pkg))))
|
||||
|
||||
(test-equal "description: pluralized 'This package'"
|
||||
@@ -359,18 +359,18 @@
|
||||
'()
|
||||
(check-compiler-for-target
|
||||
(dummy-package "x"
|
||||
(arguments
|
||||
(list #:make-flags
|
||||
#~(list (string-append "CC=" (cc-for-target))))))))
|
||||
(arguments
|
||||
(list #:make-flags
|
||||
#~(list (string-append "CC=" (cc-for-target))))))))
|
||||
|
||||
(test-equal "compiler-for-target: CC=gcc is acceptable when target=#false"
|
||||
'()
|
||||
(check-compiler-for-target
|
||||
;; This (dummy) package consists purely of architecture-independent data.
|
||||
(dummy-package "tzdata"
|
||||
(arguments
|
||||
(list #:target #false
|
||||
#:make-flags #~(list "CC=gcc"))))))
|
||||
(arguments
|
||||
(list #:target #false
|
||||
#:make-flags #~(list "CC=gcc"))))))
|
||||
|
||||
;; The emacs-build-system sets #:tests? #f by default.
|
||||
(test-equal "tests-true: #:tests? #t acceptable for emacs packages"
|
||||
|
||||
Reference in New Issue
Block a user