tests: style: Fix insufficient number of lines read.

* tests/style.scm ("url-fetch->git-fetch, preserved field"):

The 9th line of origin, where the patches field is located,
was never read. (broken test since a1b0fde434)
This commit is contained in:
Martin Schitter 2025-11-04 04:00:48 +00:00 committed by Maxim Cournoyer
parent 6c6139bce0
commit 944c20e171
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -655,7 +655,7 @@
"https://github.com/foo/bar")) "https://github.com/foo/bar"))
(load file) (load file)
(and=> (read-package-field (and=> (read-package-field
(@ (my-packages-1) my-coreutils-1) 'source 8) (@ (my-packages-1) my-coreutils-1) 'source 9)
(cut string-contains <> "patches"))))))) (cut string-contains <> "patches")))))))
"1")) "1"))