me
/
guix
Archived
1
0
Fork 0

tests: read-print: Update expectations.

This follows up on commit 974b04ab80, which
I tested with the wrong test (tests/style.scm) instead.  Oops.

* tests/read-print.scm: Update two TEST-PRETTY-PRINT strings.
master
Tobias Geerinckx-Rice 2023-09-24 02:00:00 +02:00
parent 465af37f81
commit 7c861ab4f4
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 13 additions and 12 deletions

View File

@ -258,13 +258,13 @@ mnopqrstuvwxyz.\")"
(test-pretty-print "\
(package
;; Here 'sha256', 'base32', and 'arguments' must be
;; Here 'source', 'sha256', and 'arguments' must be
;; immediately followed by a newline.
(source (origin
(method url-fetch)
(sha256
(base32
\"not a real base32 string\"))))
(source
(origin
(method url-fetch)
(sha256
(base32 \"not a real base32 string\"))))
(arguments
'(#:phases %standard-phases
#:tests? #f)))")
@ -274,12 +274,13 @@ mnopqrstuvwxyz.\")"
(package
(name \"keyword-value-same-line\")
(arguments
(list #:phases #~(modify-phases %standard-phases
(add-before 'x 'y
(lambda* (#:key inputs #:allow-other-keys)
(foo bar baz))))
#:make-flags #~'(\"ANSWER=42\")
#:tests? #f)))")
(list
#:phases #~(modify-phases %standard-phases
(add-before 'x 'y
(lambda* (#:key inputs #:allow-other-keys)
(foo bar baz))))
#:make-flags #~'(\"ANSWER=42\")
#:tests? #f)))")
(test-pretty-print "\
(let ((x 1)