summaryrefslogtreecommitdiff
path: root/tests/read-print.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-11-22 16:32:33 +0100
committerLudovic Courtès <ludo@gnu.org>2023-11-22 16:51:46 +0100
commit2c5fb13a0504df593b64c416d952df90fb4a5f3f (patch)
treea902e954c43fd6d8fa6b1b927954ea209b5df1dd /tests/read-print.scm
parent9363ec208b892e3ea43eb573ea4d41d8e269044a (diff)
read-print: Properly indent ‘parameterize’.
Fixes <https://issues.guix.gnu.org/65427>. * guix/read-print.scm (%special-forms): Add ‘parameterize’. * tests/read-print.scm: Add test. Reported-by: Maxime Devos <maximedevos@telenet.be> Change-Id: I922bffc527ade539cf2eb304acb25bc9c705a459
Diffstat (limited to 'tests/read-print.scm')
-rw-r--r--tests/read-print.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/read-print.scm b/tests/read-print.scm
index c8b8eb73fe..c1006a8a68 100644
--- a/tests/read-print.scm
+++ b/tests/read-print.scm
@@ -174,6 +174,11 @@ expressions."
(else #f))")
(test-pretty-print "\
+(parameterize ((a 1)
+ (b 2))
+ (call f g h))")
+
+(test-pretty-print "\
#~(string-append #$coreutils \"/bin/uname\")")
(test-pretty-print "\