aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-11-06 23:00:05 +0100
committerLudovic Courtès <ludo@gnu.org>2021-11-06 23:01:21 +0100
commit86ed0039908e45c44d32c82192414735566f1cd0 (patch)
tree365543e0ea056b16c517e0d55702d52c71dae7f4 /tests
parentb2ee0798eede3dfa5551a8e9f4e8459b42da6140 (diff)
downloadguix-86ed0039908e45c44d32c82192414735566f1cd0.tar
guix-86ed0039908e45c44d32c82192414735566f1cd0.tar.gz
tests: Avoid literal strings for invalid Texinfo markup.
This is a followup to e171182a20962c4119e12439b92bbbfd59b1495e. * tests/lint.scm ("description: invalid Texinfo markup") ("synopsis: valid Texinfo markup"): Add call to 'identity' to avoid triggering a syntax error.
Diffstat (limited to 'tests')
-rw-r--r--tests/lint.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lint.scm b/tests/lint.scm
index 6a7eed02e0..9a91dd5426 100644
--- a/tests/lint.scm
+++ b/tests/lint.scm
@@ -107,7 +107,7 @@
"Texinfo markup in description is invalid"
(single-lint-warning-message
(check-description-style
- (dummy-package "x" (description "f{oo}b@r")))))
+ (dummy-package "x" (description (identity "f{oo}b@r"))))))
(test-equal "description: does not start with an upper-case letter"
"description should start with an upper-case letter or digit"
@@ -209,7 +209,7 @@
"Texinfo markup in synopsis is invalid"
(single-lint-warning-message
(check-synopsis-style
- (dummy-package "x" (synopsis "Bad $@ texinfo")))))
+ (dummy-package "x" (synopsis (identity "Bad $@ texinfo"))))))
(test-equal "synopsis: does not start with an upper-case letter"
"synopsis should start with an upper-case letter or digit"