diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2023-11-22 16:32:33 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2023-11-22 16:51:46 +0100 |
| commit | 2c5fb13a0504df593b64c416d952df90fb4a5f3f (patch) | |
| tree | a902e954c43fd6d8fa6b1b927954ea209b5df1dd /tests | |
| parent | 9363ec208b892e3ea43eb573ea4d41d8e269044a (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')
| -rw-r--r-- | tests/read-print.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/read-print.scm b/tests/read-print.scm index c8b8eb73fec..c1006a8a683 100644 --- a/tests/read-print.scm +++ b/tests/read-print.scm | |||
| @@ -174,6 +174,11 @@ expressions." | |||
| 174 | (else #f))") | 174 | (else #f))") |
| 175 | 175 | ||
| 176 | (test-pretty-print "\ | 176 | (test-pretty-print "\ |
| 177 | (parameterize ((a 1) | ||
| 178 | (b 2)) | ||
| 179 | (call f g h))") | ||
| 180 | |||
| 181 | (test-pretty-print "\ | ||
| 177 | #~(string-append #$coreutils \"/bin/uname\")") | 182 | #~(string-append #$coreutils \"/bin/uname\")") |
| 178 | 183 | ||
| 179 | (test-pretty-print "\ | 184 | (test-pretty-print "\ |
